Re: FD_SETSIZE limitation
| From: | Moriyoshi Koizumi | Date: | Fri, 20 Feb 2009 03:02:58 +0000 |
| Subject: | Re: FD_SETSIZE limitation | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43127@lists.php.net to get a copy of this message | ||
Robin Burchell wrote:
> On Thu, Feb 19, 2009 at 10:24 PM, Andrei Zmievski <andrei@gravitonic.com> wrote:
>> Can someone explain why ext/sockets and also stream socket functions care
>> about FD_SETSIZE?
>
> They care, because they use the select(2) syscall, which cares about FD_SETSIZE.
>
select(2) itself can handle more fildes than FD_SETSIZE on Linux at least.
Moriyoshi