Root Access Daily
Root Access Daily
@RootAccessDaily

PHP-FPM: static vs dynamic pm on 1GB

PHP-FPM: static vs dynamic pm on 1GB
Everyone copies pm = dynamic and wonders why RAM swings. On a small box dynamic spawns/kills children constantly, thrashing.
For a single busy site I switch to:
— pm = static
— pm.max_children = 6 (each child ~50MB here)
No spawn lag, predictable memory, no OOM surprise at 2am. Use dynamic only when many idle pools share the box.
Measure one child's RSS first, then do the math. Try it tonight.
Этот пост опубликован в Telegram-канале Root Access Daily. Подписаться можно по ссылке: @RootAccessDaily.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

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

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

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