mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Use ondemand instead of dynamic
I believe ondemand is much more efficient on resource usage.
This commit is contained in:
parent
5556e03090
commit
f75c413179
1 changed files with 6 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
|||
[www]
|
||||
listen = 127.0.0.1:9000
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
|
||||
user = www-data
|
||||
group = www-data
|
||||
pm = dynamic
|
||||
pm.max_children = 50
|
||||
pm.start_servers = 5
|
||||
pm.min_spare_servers = 3
|
||||
pm.max_spare_servers = 35
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 2
|
||||
pm.max_requests = 4000
|
||||
pm.process_idle_timeout = 10s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue