Browse Source

Revert "Update php-fpm.conf (#4417)" (#4439)

This reverts commit 9aa20b5cde0b83647ee51c99345101fad5faac71.
Joan Miquel 6 years ago
parent
commit
86a415e110

+ 6 - 6
frameworks/PHP/kumbiaphp/deploy/conf/php-fpm.conf

@@ -84,12 +84,12 @@ error_log = /dev/stderr
 
 
 ; Set open file descriptor rlimit for the master process.
 ; Set open file descriptor rlimit for the master process.
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_files = 1000000
+;rlimit_files = 1024
 
 
 ; Set max core size rlimit for the master process.
 ; Set max core size rlimit for the master process.
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_core = 'unlimited'
+;rlimit_core = 0
 
 
 ; Specify the event mechanism FPM will use. The following is available:
 ; Specify the event mechanism FPM will use. The following is available:
 ; - select     (any POSIX os)
 ; - select     (any POSIX os)
@@ -99,7 +99,7 @@ rlimit_core = 'unlimited'
 ; - /dev/poll  (Solaris >= 7)
 ; - /dev/poll  (Solaris >= 7)
 ; - port       (Solaris >= 10)
 ; - port       (Solaris >= 10)
 ; Default Value: not set (auto detection)
 ; Default Value: not set (auto detection)
-events.mechanism = epoll
+;events.mechanism = epoll
 
 
 ; When FPM is built with systemd integration, specify the interval,
 ; When FPM is built with systemd integration, specify the interval,
 ; in seconds, between health report notification to systemd.
 ; in seconds, between health report notification to systemd.
@@ -165,7 +165,7 @@ listen = /run/php/php7.3-fpm.sock
 
 
 ; Set listen(2) backlog.
 ; Set listen(2) backlog.
 ; Default Value: 511 (-1 on FreeBSD and OpenBSD)
 ; Default Value: 511 (-1 on FreeBSD and OpenBSD)
-;listen.backlog = 65535
+listen.backlog = 65535
 
 
 ; Set permissions for unix socket, if one is used. In Linux, read/write
 ; Set permissions for unix socket, if one is used. In Linux, read/write
 ; permissions must be set in order to allow connections from a web server. Many
 ; permissions must be set in order to allow connections from a web server. Many
@@ -469,12 +469,12 @@ pm.max_spare_servers = 512
 
 
 ; Set open file descriptor rlimit.
 ; Set open file descriptor rlimit.
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_files = 65535
+;rlimit_files = 1024
 
 
 ; Set max core size rlimit.
 ; Set max core size rlimit.
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_core = 'unlimited'
+;rlimit_core = 0
 
 
 ; Chroot to this directory at the start. This value must be defined as an
 ; Chroot to this directory at the start. This value must be defined as an
 ; absolute path. When this value is not set, chroot is not used.
 ; absolute path. When this value is not set, chroot is not used.

+ 6 - 6
frameworks/PHP/php/deploy/conf/php-fpm.conf

@@ -84,12 +84,12 @@ error_log = /dev/stderr
 
 
 ; Set open file descriptor rlimit for the master process.
 ; Set open file descriptor rlimit for the master process.
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_files = 1000000
+;rlimit_files = 1024
 
 
 ; Set max core size rlimit for the master process.
 ; Set max core size rlimit for the master process.
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_core = 'unlimited'
+;rlimit_core = 0
 
 
 ; Specify the event mechanism FPM will use. The following is available:
 ; Specify the event mechanism FPM will use. The following is available:
 ; - select     (any POSIX os)
 ; - select     (any POSIX os)
@@ -99,7 +99,7 @@ rlimit_core = 'unlimited'
 ; - /dev/poll  (Solaris >= 7)
 ; - /dev/poll  (Solaris >= 7)
 ; - port       (Solaris >= 10)
 ; - port       (Solaris >= 10)
 ; Default Value: not set (auto detection)
 ; Default Value: not set (auto detection)
-events.mechanism = epoll
+;events.mechanism = epoll
 
 
 ; When FPM is built with systemd integration, specify the interval,
 ; When FPM is built with systemd integration, specify the interval,
 ; in seconds, between health report notification to systemd.
 ; in seconds, between health report notification to systemd.
@@ -165,7 +165,7 @@ listen = /run/php/php7.3-fpm.sock
 
 
 ; Set listen(2) backlog.
 ; Set listen(2) backlog.
 ; Default Value: 511 (-1 on FreeBSD and OpenBSD)
 ; Default Value: 511 (-1 on FreeBSD and OpenBSD)
-;listen.backlog = 65535
+listen.backlog = 65535
 
 
 ; Set permissions for unix socket, if one is used. In Linux, read/write
 ; Set permissions for unix socket, if one is used. In Linux, read/write
 ; permissions must be set in order to allow connections from a web server. Many
 ; permissions must be set in order to allow connections from a web server. Many
@@ -469,12 +469,12 @@ pm.max_spare_servers = 512
 
 
 ; Set open file descriptor rlimit.
 ; Set open file descriptor rlimit.
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_files = 65535
+;rlimit_files = 1024
 
 
 ; Set max core size rlimit.
 ; Set max core size rlimit.
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Possible Values: 'unlimited' or an integer greater or equal to 0
 ; Default Value: system defined value
 ; Default Value: system defined value
-rlimit_core = 'unlimited'
+;rlimit_core = 0
 
 
 ; Chroot to this directory at the start. This value must be defined as an
 ; Chroot to this directory at the start. This value must be defined as an
 ; absolute path. When this value is not set, chroot is not used.
 ; absolute path. When this value is not set, chroot is not used.