Php-fpm config tips

From vpsget wiki
Revision as of 16:21, 10 February 2017 by Ndi (talk | contribs) (Created page with "hp-fpm config tips DRAFT Sometimes increasing limits could result in less memory and cpu usage. For example you have near 170-200 real simulateous connections and you see nea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

hp-fpm config tips DRAFT

Sometimes increasing limits could result in less memory and cpu usage. For example you have near 170-200 real simulateous connections and you see near 670 connections in netstat and may of them are timedout or sync-req. also you may note that nginx error log is growing fast with new records. SO try to increase some php-fpm limits in config:


pm.max_children = 100
pm.start_servers = 40
pm.min_spare_servers = 5
pm.max_spare_servers = 80