Skip to content

Commit bcdc3c3

Browse files
committed
php: increase pm.min_spare_servers and max_spare_servers
> WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 8 children, there are 0 idle, and 6 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 16 children, there are 0 idle, and 7 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 8 children, there are 0 idle, and 7 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 16 children, there are 0 idle, and 8 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 32 children, there are 0 idle, and 9 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 32 children, there are 0 idle, and 10 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 32 children, there are 0 idle, and 11 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 32 children, there are 0 idle, and 12 total children > WARNING: [pool www] seems busy (you may need to increase … pm.min/max_spare_servers), > spawning 32 children, there are 0 idle, and 13 total children
1 parent 06139bb commit bcdc3c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/php/templates/fpm/pool.ini.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ listen.group = www-data
99
pm = dynamic
1010
pm.max_children = 20
1111
pm.start_servers = 2
12-
pm.min_spare_servers = 1
13-
pm.max_spare_servers = 3
12+
pm.min_spare_servers = 2
13+
pm.max_spare_servers = 8
1414

1515
; PHP sets log_errors=On by default, but errors go nowhere by default.
1616
; Setting php_admin_value[error_log] to a file doesn't work either.

0 commit comments

Comments
 (0)