I want to serve with a PHP more than 1024 Clients! I dont have a apache! When I run the script I come in to a issue once I have more than 1023 Clients connected!
I have exactly this issue:
I did whats in the comments
and know i get this issue:
Warning: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 4096, but you have descriptors numbered at least as high as 1023. -- 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.
That is weird!
Also I all my ulimits are very high and also the filemax in sysctl.conf is up to 900000
Anyone who could help?