[asterisk-dev] Too many open files
Simon Perreault
simon.perreault at viagenie.ca
Wed Jul 21 15:03:17 CDT 2010
On 2010-07-21 16:02, Moises Silva wrote:
> That's just hiding the issue at hand and it may make it worst because it
> will obscure it, because, as I noticed before in the mailing list
> (http://www.mail-archive.com/asterisk-dev@lists.digium.com/msg39420.html),
> there are parts of asterisk using select(), which requires FD_SET macro
> and friends, which are limited to file descriptor values of 1024 (unless
> you recompile gcc or allocate your own fd_set structures).
Of course, Asterisk should be using epoll, which doesn't have this
limit. As far as I know, it was doing so some time ago, but that code
was pulled out because it was buggy. I'm not sure what the current
situation is.
Simon
--
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server --> http://numb.viagenie.ca
vCard 4.0 --> http://www.vcarddav.org
More information about the asterisk-dev
mailing list