[Libevent-users] Segfault when attempting to add more than ~1012 events

Thomas Harning Jr. harningt at gmail.com
Tue Jun 12 23:11:52 EDT 2007


On 6/12/07, William Ahern <william at 25thandclement.com> wrote:
> On Tue, Jun 12, 2007 at 10:49:25PM -0400, Thomas Harning Jr. wrote:
...
> > Log:
> > http://rafb.net/p/34ZA4i22.html
>
> Is libevent using select(2)?
>
> This sounds suspicously like an issue with the size of the fd_set
> structure/array. 1012 is about when C-Ares blows up, an async DNS library
> which takes fd_set's as parameters to its churn function.
>
Nope.. its using epoll... @ line ~14 in the log it shows that its
calling into epoll (+ when I ran `strace` it was using epoll...)


-- 
Thomas Harning Jr.


More information about the Libevent-users mailing list