Skip to content

Instantly share code, notes, and snippets.

@fastmover
Created June 21, 2016 04:57
Show Gist options
  • Select an option

  • Save fastmover/03734a36acf46ea209a777ff6107cb9c to your computer and use it in GitHub Desktop.

Select an option

Save fastmover/03734a36acf46ea209a777ff6107cb9c to your computer and use it in GitHub Desktop.
/etc/php/fpm/pool.d/POOL.conf
;; Performance:
listen.backlog = -1
pm = static
;; Max Children is the number of PHP processes running to handle user requests. Set to 2x Number of CPU Cores.
pm.max_children = 8
pm.max_requests = 0
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment