kustodian

php-fpm.conf

Mar 28th, 2012
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [global]
  2. pid = /var/run/php-fpm.pid
  3. error_log = /var/log/php-fpm/php-fpm.log
  4. log_level = error
  5. daemonize = yes
  6.  
  7. [www]
  8. listen = /dev/shm/.php-fpm/socket
  9. listen.backlog = 4096
  10. user = nobody
  11. group = nobody
  12. pm = dynamic
  13. pm.max_children = 512
  14. pm.start_servers = 40
  15. pm.min_spare_servers = 20
  16. pm.max_spare_servers = 128
  17. pm.max_requests = 1000
  18. request_slowlog_timeout = 20
  19. slowlog = /var/log/php-fpm/$pool.slow.log
  20.  
  21. [www2]
  22. listen = /dev/shm/.php-fpm/socket2
  23. listen.backlog = 4096
  24. user = nobody
  25. group = nobody
  26. pm = dynamic
  27. pm.max_children = 512
  28. pm.start_servers = 40
  29. pm.min_spare_servers = 20
  30. pm.max_spare_servers = 128
  31. pm.max_requests = 1000
  32. request_slowlog_timeout = 20
  33. slowlog = /var/log/php-fpm/$pool.slow.log
RAW Paste Data