Merge pull request #1396 from ioannidesalex/patch-14

Use ondemand instead of dynamic
This commit is contained in:
Serghey Rodin 2017-12-29 00:53:57 +02:00 committed by GitHub
commit 07dc2d2827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,11 @@
[www] [www]
listen = 127.0.0.1:9000 listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1 listen.allowed_clients = 127.0.0.1
user = www-data user = www-data
group = www-data group = www-data
pm = dynamic
pm.max_children = 50 pm = ondemand
pm.start_servers = 5 pm.max_children = 2
pm.min_spare_servers = 3 pm.max_requests = 4000
pm.max_spare_servers = 35 pm.process_idle_timeout = 10s