﻿;
; WARNING
;
; This file is overwritten automatically on software update.
; Please apply changes to /usr/local/Somnode/php/etc/php-fpm.d/www.include
;


;emergency_restart_threshold 10
;emergency_restart_interval 1m
;process_control_timeout 10s

[www]
user = Somnode
group = Somnode
listen = /usr/local/Somnode/php/php-fpm.sock
listen.backlog = 511

listen.owner = Somnode
listen.group = Somnode
;listen.mode = 0660
listen.allowed_clients = 127.0.0.1
;listen.backlog = 4096


; Set the process dumpable flag (PR_SET_DUMPABLE prctl) even if the process user
; or group is differrent than the master process user. It allows to create process
; core dump and ptrace the process for the pool user.
; Default Value: no
; process.dumpable = yes


pm = dynamic
pm.max_children = 40
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 20
pm.process_idle_timeout = 15s;
pm.max_requests = 500

slowlog = /usr/local/Somnode/log/php/php-fpm.log.slow
request_slowlog_timeout = 15s

request_terminate_timeout = 300


pm.status_path = /status

include=/usr/local/Somnode/php/etc/php-fpm.d/www.include
