Limit max_requests to 1000

tags/smeserver-dl-0.2.1-1 0.2.0_0.fc26_el6
Daniel Berteaud 8 years ago
parent f9da9e670f
commit 18bc9ed30a
  1. 2
      root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl

@ -18,7 +18,7 @@ pm.max_children = 15
pm.start_servers = 3 pm.start_servers = 3
pm.min_spare_servers = 3 pm.min_spare_servers = 3
pm.max_spare_servers = 4 pm.max_spare_servers = 4
pm.max_requests = 5000 pm.max_requests = 1000
php_admin_value[session.save_path] = /var/lib/php/$id/session php_admin_value[session.save_path] = /var/lib/php/$id/session
php_admin_value[opcache.file_cache] = /var/lib/php/$id/opcache php_admin_value[opcache.file_cache] = /var/lib/php/$id/opcache
php_admin_value[upload_tmp_dir] = /var/lib/php/$id/tmp php_admin_value[upload_tmp_dir] = /var/lib/php/$id/tmp

Loading…
Cancel
Save