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 group = CAT(sys/php5/fpm/POOL/user) #listen = 127.0.0.1:9000 #listen.allowed_clients = 127.0.0.1 #listen.owner = www-data listen = CAT(sys/php5/fpm/POOL/socket) listen.backlog = -1 listen.group = CAT(sys/nginx/user) listen.mode = 0660 php_admin_value[extension] = pdo_mysql.so php_value[allow_url_fopen] = On ping.path = /ping pm = dynamic pm.max_children = 15 pm.max_requests = 200 pm.max_spare_servers = 5 pm.min_spare_servers = 1 pm.process_idle_timeout = 60s pm.start_servers = 1 pm.status_path = /status request_slowlog_timeout = 5s request_slowlog_timeout = 5s request_terminate_timeout = 120s request_terminate_timeout = 120s rlimit_core = unlimited rlimit_core = unlimited rlimit_files = 131072 rlimit_files = 131072 security.limit_extensions = .php slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log user = CAT(sys/php5/fpm/POOL/user)