Skip to content

Commit 7abdb89

Browse files
Ondemand instead of Dynamic & Add Status Page
Much more efficient. Also added PHP-FPM Status Page
1 parent 5556e03 commit 7abdb89

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 = 2
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)