Root Access Daily
Root Access Daily
@RootAccessDaily

Cage your runaway service before it kills the box

One misbehaving worker or a memory-leaking node script will eat all your RAM and take the whole server down. Don't babysit it, cage it with systemd:

— MemoryMax=300M
— CPUQuota=50%

Drop those in the unit's [Service] block. Now if it leaks, systemd kills and restarts just that service at 300M instead of letting it OOM your MySQL. One sketchy app on a shared box can't take down the neighbors anymore. Try it tonight.
This post was published in the Telegram channel Root Access Daily. Subscribe here: @RootAccessDaily.
tech

Latest posts in “Tools and infrastructure”

All channels in this category →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.