1 define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
3 access.log = CAT(sys/php5/fpm/POOL/log/home)/access.log
5 catch_workers_output = no
7 env[HOSTNAME] = $HOSTNAME
11 group = CAT(sys/php5/fpm/POOL/user)
12 #listen = 127.0.0.1:9000
13 listen = CAT(sys/php5/fpm/POOL/socket)
14 #listen.allowed_clients = 127.0.0.1
15 listen.group = CAT(sys/nginx/user)
17 #listen.owner = www-data
23 pm.max_spare_servers = 4
24 pm.min_spare_servers = 2
26 pm.status_path = /status
27 request_slowlog_timeout = 5s
28 request_terminate_timeout = 120s
29 rlimit_core = unlimited
31 slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
32 user = CAT(sys/php5/fpm/POOL/user)
33 #php_admin_value[extension] = pdo_mysql.so
34 php_admin_value[extension] = mysql.so
36 pm.max_requests = 1000
37 pm.max_spare_servers = 4
38 pm.min_spare_servers = 2
39 pm.process_idle_timeout = 60s
41 request_slowlog_timeout = 5s
42 request_terminate_timeout = 120s
43 rlimit_core = unlimited
45 security.limit_extensions = .php