Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using php-fpm along with nginx to server a busy drupal sites. I have not tweaked php5-fpm.conf yet. The stability is fantastic, however, I am wondering how to optimally set the parameters to optimize the performance too. Here is a set of suggestions:

pm = dynamic
pm.max_children = 8
pm.start_servers = 2
pm.min_spare_servers = 2
pm.max_spare_servers = 3
pm.max_requests = 500

Any recommendations/comments are very welcomed.

share|improve this question
in my server pm.max_children defaults to 10, Im considering raising it but I haven't found guidelines on how to set the pm.* values – Purefan Apr 15 '13 at 7:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.