define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl [POOL] access.log = CAT(sys/php5/fpm/POOL/log/home)/access.log catch_workers_output = no chdir = / env[HOSTNAME] = $HOSTNAME env[TEMP] = /tmp env[TMPDIR] = /tmp env[TMP] = /tmp env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin group = CAT(sys/php5/fpm/POOL/user) #listen = 127.0.0.1:9000 listen = CAT(sys/php5/fpm/POOL/socket) listen.backlog = -1 listen.group = CAT(sys/nginx/user) listen.mode = 0660 #listen.allowed_clients = 127.0.0.1 #listen.owner = www-data php_admin_value[extension] = pdo_mysql.so ping.path = /ping pm = dynamic pm.max_children = 15 pm.max_requests = 200 pm.max_spare_servers = 3 pm.min_spare_servers = 2 pm.process_idle_timeout = 60s pm.start_servers = 2 pm.status_path = /status request_slowlog_timeout = 5s request_terminate_timeout = 120s rlimit_core = unlimited rlimit_files = 131072 security.limit_extensions = .php slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log user = CAT(sys/php5/fpm/POOL/user)