Skip to content

Commit 9410856

Browse files
Merge pull request hestiacp#1398 from ioannidesalex/patch-16
Ondemand instead of Dynamic & Add Status Page
2 parents 07dc2d2 + 9aa07a8 commit 9410856

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

install/ubuntu/16.04/templates/web/php-fpm/default.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ listen.allowed_clients = 127.0.0.1
55
user = %user%
66
group = %user%
77

8-
pm = dynamic
9-
pm.max_children = 50
10-
pm.start_servers = 3
11-
pm.min_spare_servers = 2
12-
pm.max_spare_servers = 10
8+
pm = ondemand
9+
pm.max_children = 4
10+
pm.max_requests = 4000
11+
pm.process_idle_timeout = 10s
12+
pm.status_path = /status
1313

1414
php_admin_value[upload_tmp_dir] = /home/%user%/tmp
1515
php_admin_value[session.save_path] = /home/%user%/tmp

0 commit comments

Comments
 (0)