Skip to content

Commit ff6afb7

Browse files
authored
Merge pull request #41 from devilbox/release-0.29
Fix default listen.backlog value
2 parents c246645 + 8a4736f commit ff6afb7

19 files changed

+19
-19
lines changed

Dockerfiles/base/data/php-fpm.conf/php-fpm-5.2.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<value name="listen_options">
4242
Set listen(2) backlog
43-
<value name="backlog">128</value>
43+
<value name="backlog">1024</value>
4444
Set permissions for unix socket, if one used.
4545
In Linux read/write permissions must be set in order to allow connections from web server.
4646
Many BSD-derrived systems allow connections regardless of permissions.

Dockerfiles/base/data/php-fpm.conf/php-fpm-5.3.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/base/data/php-fpm.conf/php-fpm-5.4.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/base/data/php-fpm.conf/php-fpm-5.5.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/base/data/php-fpm.conf/php-fpm-5.6.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/base/data/php-fpm.conf/php-fpm-7.0.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/base/data/php-fpm.conf/php-fpm-7.1.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/base/data/php-fpm.conf/php-fpm-7.2.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/base/data/php-fpm.conf/php-fpm-7.3.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
4141

4242
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
4343
; are silently truncated
44-
listen.backlog = 128
44+
listen.backlog = 1024
4545

4646

4747
; ############################################################

Dockerfiles/work/data/php-fpm.conf/php-fpm-5.2.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<value name="listen_options">
4242
Set listen(2) backlog
43-
<value name="backlog">128</value>
43+
<value name="backlog">1024</value>
4444
Set permissions for unix socket, if one used.
4545
In Linux read/write permissions must be set in order to allow connections from web server.
4646
Many BSD-derrived systems allow connections regardless of permissions.

0 commit comments

Comments
 (0)