note 93475 added to function.socket-set-nonblock
| From: | kpobococ at gmail dot com | Date: | Fri, 11 Sep 2009 14:46:02 +0000 |
| Subject: | note 93475 added to function.socket-set-nonblock | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-160460@lists.php.net to get a copy of this message | ||
Beware, when using this function within a loop (i.e. a demon with a socket). The socket_accept(),
for example, emits a warning each time there is no incoming connection available to be read. My php
error log file got huge in a matter of seconds, eventually crashing the server.
Of course, i used the @ before the function to take care of that problem.
----
Server IP: 88.81.245.102 (proxied: 91.196.196.205 1.0 localhost.ua.elro.com:3128
(squid/2.5.STABLE14))
Probable Submitter: 62.205.130.26
----
Manual Page -- http://www.php.net/manual/en/function.socket-set-nonblock.php
Edit -- https://master.php.net/note/edit/93475
Del: integrated -- https://master.php.net/note/delete/93475/integrated
Del: useless -- https://master.php.net/note/delete/93475/useless
Del: bad code -- https://master.php.net/note/delete/93475/bad+code
Del: spam -- https://master.php.net/note/delete/93475/spam
Del: non-english -- https://master.php.net/note/delete/93475/non-english
Del: in docs -- https://master.php.net/note/delete/93475/in+docs
Del: other reasons-- https://master.php.net/note/delete/93475
Reject -- https://master.php.net/note/reject/93475
Search -- https://master.php.net/manage/user-notes.php