I'm flooded with this warning when my system is under a high load and uses
a lot of sockets/file descriptors. I get it in stream_select:

"E_WARNING: E_WARNING caught: stream_select(): You MUST recompile PHP with
a larger value of FD_SETSIZE.
It is set to 1024, but you have descriptors numbered at least as high as
1024.
 --enable-fd-setsize=2048 is recommended, but you may want to set it
to equal the maximum number of open files supported by your system,
in order to avoid seeing this error again at a later date."

Why would you even have a limit for this? Having your application suddenly
crash because of some undocumented arbitrary internal PHP limit is a real
punch-in-the-face for people trying to build robust PHP-CGI applications.
Can someone explain to me why I need to be bothered about this?

~Hannes

Reply via email to