Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam,
Jak rozsądnie zoptymalizować php-fpm.
mam takie ustawienia i co chwilę muszę je zwiększać
pm = dynamic pm.start_servers = 3 pm.max_children = 100 pm.min_spare_servers = 2 pm.max_spare_servers = 64 pm.max_requests = 2048
Bo w logach wali takim błędem
[11-Jun-2013 22:22:19] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 39 total children [11-Jun-2013 22:22:20] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 41 total children [11-Jun-2013 22:22:21] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 43 total children [11-Jun-2013 22:22:22] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 45 total children [11-Jun-2013 22:22:23] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 47 total children [11-Jun-2013 22:22:24] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 49 total children
Czy można to jakoś wyliczyć ? Mam dużo zapytań i jak wszystkie wartości ustawiam na zero to po pewnym czasie serwer ma zużyte wszystkie zasoby i pada. Będę bardzo zobowiązany za pomoc
Offline