Skip to content

Instantly share code, notes, and snippets.

@kenvunz
Last active August 29, 2015 13:57
Show Gist options
  • Save kenvunz/9779382 to your computer and use it in GitHub Desktop.
Save kenvunz/9779382 to your computer and use it in GitHub Desktop.
/etc/php5/fpm/pool.d/www.conf
; pool name ('www' here)
[www]
; Unix user/group of processes
user = www-data
group = www-data
; The address on which to accept FastCGI requests.
listen = 127.0.0.1:9000
; Choose how the process manager will control the number of child processes.
pm = dynamic
; The number of child processes to be created when pm is set to 'static' and the
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
pm.max_children = 10
; The number of child processes created on startup.
pm.start_servers = 4
; The desired minimum number of idle server processes.
pm.min_spare_servers = 2
; The desired maximum number of idle server processes.
pm.max_spare_servers = 6
; Chdir to this directory at the start.
chdir = /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment