mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 19:11:16 +00:00
Fix default listen.backlog value
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
<value name="listen_options">
|
<value name="listen_options">
|
||||||
Set listen(2) backlog
|
Set listen(2) backlog
|
||||||
<value name="backlog">128</value>
|
<value name="backlog">1024</value>
|
||||||
Set permissions for unix socket, if one used.
|
Set permissions for unix socket, if one used.
|
||||||
In Linux read/write permissions must be set in order to allow connections from web server.
|
In Linux read/write permissions must be set in order to allow connections from web server.
|
||||||
Many BSD-derrived systems allow connections regardless of permissions.
|
Many BSD-derrived systems allow connections regardless of permissions.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
<value name="listen_options">
|
<value name="listen_options">
|
||||||
Set listen(2) backlog
|
Set listen(2) backlog
|
||||||
<value name="backlog">128</value>
|
<value name="backlog">1024</value>
|
||||||
Set permissions for unix socket, if one used.
|
Set permissions for unix socket, if one used.
|
||||||
In Linux read/write permissions must be set in order to allow connections from web server.
|
In Linux read/write permissions must be set in order to allow connections from web server.
|
||||||
Many BSD-derrived systems allow connections regardless of permissions.
|
Many BSD-derrived systems allow connections regardless of permissions.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
|
|||||||
|
|
||||||
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
|
||||||
; are silently truncated
|
; are silently truncated
|
||||||
listen.backlog = 128
|
listen.backlog = 1024
|
||||||
|
|
||||||
|
|
||||||
; ############################################################
|
; ############################################################
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ php_settings_fpm:
|
|||||||
# Network
|
# Network
|
||||||
listen: 9000
|
listen: 9000
|
||||||
# Backlog
|
# Backlog
|
||||||
listen_backlog: 128
|
listen_backlog: 1024
|
||||||
# Logging
|
# Logging
|
||||||
log_level: notice
|
log_level: notice
|
||||||
error_log: /proc/self/fd/2
|
error_log: /proc/self/fd/2
|
||||||
|
|||||||
Reference in New Issue
Block a user