diff --git a/data/conf/nginx/includes/site-defaults.conf b/data/conf/nginx/includes/site-defaults.conf index 789b87a9..c4c06b2a 100644 --- a/data/conf/nginx/includes/site-defaults.conf +++ b/data/conf/nginx/includes/site-defaults.conf @@ -94,7 +94,8 @@ include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_read_timeout 1200; + fastcgi_read_timeout 3600; + fastcgi_send_timeout 3600; } location /rspamd/ { diff --git a/data/conf/phpfpm/php-fpm.d/pools.conf b/data/conf/phpfpm/php-fpm.d/pools.conf index 77145a74..605e686c 100644 --- a/data/conf/phpfpm/php-fpm.d/pools.conf +++ b/data/conf/phpfpm/php-fpm.d/pools.conf @@ -18,9 +18,9 @@ user = www-data group = www-data pm = dynamic pm.max_children = 50 -pm.start_servers = 2 -pm.min_spare_servers = 2 -pm.max_spare_servers = 4 +pm.start_servers = 10 +pm.min_spare_servers = 10 +pm.max_spare_servers = 15 listen = [::]:9002 access.log = /proc/self/fd/2 clear_env = no