Limit max_requests to 1000

This commit is contained in:
Daniel Berteaud 2017-07-18 11:30:13 +02:00
parent 489aa0a7b3
commit 89b9699283
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
if ($PHP_VERSION eq '71'){
if ((${'tt-rss'}{status} || 'disabled') eq 'enabled'){
my $id = 'tt-rss;
my $id = 'tt-rss';
$OUT .=<<_EOF;
[php$PHP_VERSION-$id]
@ -16,7 +16,7 @@ pm.max_children = 15
pm.start_servers = 3
pm.min_spare_servers = 3
pm.max_spare_servers = 4
pm.max_requests = 5000
pm.max_requests = 1000
request_terminate_timeout = 30
php_admin_value[session.save_path] = /var/lib/php/$id/session
php_admin_value[opcache.file_cache] = /var/lib/php/$id/opcache