From 45b11563086fab7488deaa1696d1476413876259 Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Wed, 15 Apr 2015 11:10:27 +0200 Subject: [PATCH] =?utf8?q?Ajout=C2=A0:=20etc/php5/fpm/org/heureux-cyclage/?= =?utf8?q?lhc=5Fclav=5Flyon?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- srv/ateliers/etc/php5/... | 1 + srv/ateliers/etc/php5/fpm/... | 1 + srv/ateliers/etc/php5/fpm/fpm | 1 + srv/ateliers/etc/php5/fpm/org/... | 1 + .../etc/php5/fpm/org/heureux-cyclage/... | 1 + .../fpm/org/heureux-cyclage/lhc_clav_lyon/... | 1 + .../lhc_clav_lyon/php-fpm.conf.m4 | 45 +++++++++++++++++++ srv/ateliers/etc/php5/fpm/php-fpm.conf | 17 +++++++ 8 files changed, 68 insertions(+) create mode 120000 srv/ateliers/etc/php5/... create mode 120000 srv/ateliers/etc/php5/fpm/... create mode 120000 srv/ateliers/etc/php5/fpm/fpm create mode 120000 srv/ateliers/etc/php5/fpm/org/... create mode 120000 srv/ateliers/etc/php5/fpm/org/heureux-cyclage/... create mode 120000 srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/... create mode 100644 srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/php-fpm.conf.m4 create mode 100644 srv/ateliers/etc/php5/fpm/php-fpm.conf diff --git a/srv/ateliers/etc/php5/... b/srv/ateliers/etc/php5/... new file mode 120000 index 0000000..951b30d --- /dev/null +++ b/srv/ateliers/etc/php5/... @@ -0,0 +1 @@ +../... \ No newline at end of file diff --git a/srv/ateliers/etc/php5/fpm/... b/srv/ateliers/etc/php5/fpm/... new file mode 120000 index 0000000..951b30d --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/... @@ -0,0 +1 @@ +../... \ No newline at end of file diff --git a/srv/ateliers/etc/php5/fpm/fpm b/srv/ateliers/etc/php5/fpm/fpm new file mode 120000 index 0000000..5b5c2d5 --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/fpm @@ -0,0 +1 @@ +.../lib/tool/admin/etc/php5/fpm/ \ No newline at end of file diff --git a/srv/ateliers/etc/php5/fpm/org/... b/srv/ateliers/etc/php5/fpm/org/... new file mode 120000 index 0000000..951b30d --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/org/... @@ -0,0 +1 @@ +../... \ No newline at end of file diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/... b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/... new file mode 120000 index 0000000..951b30d --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/... @@ -0,0 +1 @@ +../... \ No newline at end of file diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/... b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/... new file mode 120000 index 0000000..951b30d --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/... @@ -0,0 +1 @@ +../... \ No newline at end of file diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/php-fpm.conf.m4 b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/php-fpm.conf.m4 new file mode 100644 index 0000000..8acf077 --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/php-fpm.conf.m4 @@ -0,0 +1,45 @@ +define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl +CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool) +[POOL] +access.log = /home/www/log/php5/fpm/POOL/access.log +catch_workers_output = no +chdir = / +env[HOSTNAME] = $HOSTNAME +env[TEMP] = /tmp +env[TMPDIR] = /tmp +env[TMP] = /tmp +group = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool) +#listen = 127.0.0.1:9000 +listen = /run/php5/fpm/POOL +#listen.allowed_clients = 127.0.0.1 +listen.group = www-data +listen.mode = 0660 +#listen.owner = www-data +listen.backlog = -1 +ping.path = /ping +pm = dynamic +pm.max_children = 5 +pm.max_requests = 200 +pm.max_spare_servers = 4 +pm.min_spare_servers = 2 +pm.start_servers = 3 +pm.status_path = /status +request_slowlog_timeout = 5s +request_terminate_timeout = 120s +rlimit_core = unlimited +rlimit_files = 131072 +slowlog = /home/www/log/php5/fpm/POOL/slow.log +user = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool) +#php_admin_value[extension] = pdo_mysql.so +php_admin_value[extension] = mysql.so +pm.max_children = 4 +pm.max_requests = 1000 +pm.max_spare_servers = 4 +pm.min_spare_servers = 2 +pm.process_idle_timeout = 60s +pm.start_servers = 2 +request_slowlog_timeout = 5s +request_terminate_timeout = 120s +rlimit_core = unlimited +rlimit_files = 131072 +security.limit_extensions = .php diff --git a/srv/ateliers/etc/php5/fpm/php-fpm.conf b/srv/ateliers/etc/php5/fpm/php-fpm.conf new file mode 100644 index 0000000..da642a2 --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/php-fpm.conf @@ -0,0 +1,17 @@ +[global] +daemonize = no +emergency_restart_interval = 1m +emergency_restart_threshold = 10 +error_log = syslog +;events.mechanism = epoll +log_level = warn +;pid = /run/php5-fpm.pid +process.max = 128 +process_control_timeout = 10s +;rlimit_core = 0 +rlimit_files = 1024 +syslog.facility = daemon +syslog.ident = php5-fpm + +include=/etc/php5/fpm/pool.d/*/php-fpm.conf +include=/etc/php5/fpm/*/*/*/php-fpm.conf -- 2.20.1