|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-22 09:38 UTC] sjoerd@php.net
[2009-09-23 03:12 UTC] ben at realitychecknetwork dot com
[2014-08-27 09:16 UTC] jack dot chuong at itlvn dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 23:00:01 2025 UTC |
Description: ------------ Impossible to increase SOMAXCONN value by updating system OS variable. PHP must be compiled with --enable-sockets for this bug to be produced. OS setting updated with: # sysctl -w net.core.somaxconn=2048 net.core.somaxconn = 2048 PHP will always return 128 for SOMAXCONN and will not respect the OS setting. Additionally, it will ignore a define statement in PHP code and return 128 as well. Reproduce code: --------------- define("SOMAXCONN", 2048); echo SOMAXCONN; Expected result: ---------------- Should return 2048 Actual result: -------------- Returns 128