Re: [Libevent-users] possible file descriptor leak

2012-02-21 Thread Nick Mathewson
On Tue, Feb 21, 2012 at 8:17 PM, Amarin Phaosawasdi wrote: > We've written a very simple client and server in Libevent. [...] > Is this expected behavior? Thanks for helping to debug the master branch of Libevent! No, leaking infinite sockets is never the correct behavior. (If you didn't actua

[Libevent-users] possible file descriptor leak

2012-02-21 Thread Amarin Phaosawasdi
We've written a very simple client and server in Libevent. When we start up the server and have the client make thousands of requests to the server, the client eventually ends with a "too many open files" error. (The system that ran this had the ulimit set to 4096.) This only happens at the clien

Re: [Libevent-users] Signalfd

2012-02-21 Thread Ross Lagerwall
> Hi, Ross! The discussion on this ticket should bring you up to speed. > > http://sourceforge.net/tracker/index.php?func=detail&aid=3436038&group_id=50884&atid=461324 > >> Also, what is the reason that the default signal backend cannot have >> different event bases receiving different signals?