0
pool:                 www
process manager:      dynamic
start time:           22/Oct/2017:15:32:05 -0400
start since:          60605
accepted conn:        5169879
listen queue:         0
max listen queue:     0
listen queue len:     0
idle processes:       33
active processes:     8
total processes:      41
max active processes: 107
max children reached: 0
slow requests:        0

What does total processes, max active processes and max children reached mean? How can i understand the server load from these values? Which value (for example) indicate the connection is full?

Thanks

0

For example you have 23 fpm children running at moment (total processes). 10 of them are idle and not processing a php code. So 13 active processes left. Active process - a child processing a php code at moment. Max active processes - the maximum number of active processes since FPM has started. Max children reached - number of times, the process limit (you set it in php-fpm pool config as max_childre ) has been reached. If your max children reached > 0 you should investigate it.

https://easyengine.io/tutorials/php/fpm-status-page/

  • Thanks for the info. ps.max_children and start servers. what is the difference? Which one is actually process here? – Mahesh Oct 23 '17 at 13:30
  • I am getting `WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers)' – Mahesh Oct 23 '17 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.