Updated PHP settings to avoid 503 by timeouts
In order to avoid 503 by timeouts from php-fpm service timeout values were increased as also the max request nbr per php child proccess. Change-Id: I06d94b88716895987ea97cf86365b39caeafa385
This commit is contained in:
parent
b70762da8b
commit
274521cca5
|
@ -23,6 +23,6 @@ pm.min_spare_servers = 80
|
|||
# of 'idle' processes is greater than this
|
||||
# number then some children will be killed.
|
||||
pm.max_spare_servers = 160
|
||||
pm.max_requests = 500
|
||||
pm.max_requests = 1500
|
||||
|
||||
chdir = /
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</Directory>
|
||||
|
||||
<IfModule mod_proxy_fcgi.c>
|
||||
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000<%= @docroot %>/$1 retry=0 timeout=120
|
||||
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000<%= @docroot %>/$1 retry=0 timeout=1800
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_fastcgi.c>
|
||||
|
|
Loading…
Reference in New Issue