note 84469 added to function.socket-listen
| From: | (karuna.kgxgmail) | Date: | Tue, 15 Jul 2008 23:10:03 +0000 |
| Subject: | note 84469 added to function.socket-listen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141542@lists.php.net to get a copy of this message | ||
To change the maximum allowed backlog by your system (*nix machines only), first you need to find
the variable for this limit:
sudo sysctl -a | grep somaxconn
On ubuntu boxes, it returns net.core.somaxconn (you need to look for the 'somaxconn'
variable, the full name will vary across different systems).
Update this to a large number as follows:
sudo sysctl -w net.core.somaxconn=1024
This will work straight away. no restart required.
----
Server IP: 202.89.58.1
Probable Submitter: 60.234.224.67
----
Manual Page -- http://www.php.net/manual/en/function.socket-listen.php
Edit -- https://master.php.net/note/edit/84469
Del: integrated -- https://master.php.net/note/delete/84469/integrated
Del: useless -- https://master.php.net/note/delete/84469/useless
Del: bad code -- https://master.php.net/note/delete/84469/bad+code
Del: spam -- https://master.php.net/note/delete/84469/spam
Del: non-english -- https://master.php.net/note/delete/84469/non-english
Del: in docs -- https://master.php.net/note/delete/84469/in+docs
Del: other reasons-- https://master.php.net/note/delete/84469
Reject -- https://master.php.net/note/reject/84469
Search -- https://master.php.net/manage/user-notes.php