archwiki: Decrease number of workers
The box now is much smaller than the box we had the wiki on before and so we used a lot of workers because it didn't matter. The new box had too much memory pressure and so we had to decrease this. In a load test, it lead to much better performance under high HTTP load.
This commit is contained in:
parent
6a81244041
commit
b6cbbcb879
1 changed files with 3 additions and 3 deletions
|
@ -9,10 +9,10 @@ listen.group = http
|
||||||
listen.mode = 0660
|
listen.mode = 0660
|
||||||
|
|
||||||
pm = dynamic
|
pm = dynamic
|
||||||
pm.max_children = 100
|
pm.max_children = 30
|
||||||
pm.start_servers = 20
|
pm.start_servers = 10
|
||||||
pm.min_spare_servers = 5
|
pm.min_spare_servers = 5
|
||||||
pm.max_spare_servers = 30
|
pm.max_spare_servers = 10
|
||||||
pm.max_requests = 2000
|
pm.max_requests = 2000
|
||||||
|
|
||||||
php_admin_value[open_basedir] = {{ archwiki_dir }}:/usr/bin/diff3:/usr/bin/diff:/var/log/archwiki
|
php_admin_value[open_basedir] = {{ archwiki_dir }}:/usr/bin/diff3:/usr/bin/diff:/var/log/archwiki
|
||||||
|
|
Loading…
Reference in a new issue