Re: [Libevent-users] Stop listening on http server when accept() returns Too Many Open Files

2010-09-21 Thread W.C.A. Wijngaards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Nick, On 09/21/2010 03:31 AM, Nick Mathewson wrote: >> Having no idea what your test harness is capable of, couldn't one set >> ulimit -n some_low_value, start a listener, create connections until the >> error callback is called, and then ...? > >

Re: [Libevent-users] 100% cpu utilization with openssl bufferevent.

2010-04-29 Thread W.C.A. Wijngaards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, (From man SSL_write): As at any time a re-negotiation is possible, a call to SSL_write() can also cause read operations! It is different from normal socket operations, so maybe an interesting fact. Best regards, Wouter On 04/29/20

Re: [Libevent-users] Assertion error + Segmentation Fault

2010-04-08 Thread W.C.A. Wijngaards
t;is_socket_connected, and server->socket_descriptor. > > On Thu, Apr 8, 2010 at 1:52 PM, W.C.A. Wijngaards <mailto:wou...@nlnetlabs.nl>> wrote: > > On 04/08/2010 01:46 PM, Sherif Fanous wrote: > > Can anyone please tell me what I'm doing wrong here? I

Re: [Libevent-users] Assertion error + Segmentation Fault

2010-04-08 Thread W.C.A. Wijngaards
On 04/08/2010 01:46 PM, Sherif Fanous wrote: > Can anyone please tell me what I'm doing wrong here? Is it an internal > libevent problem, or is my code messing up somewhere? > pthread_rwlock_rdlock(&(server->lock)); wrlock. event_add modifies the event base. Best regards, Wouter *

Re: [Libevent-users] FD_SETSIZE - max connections in Windows - help!

2010-03-16 Thread W.C.A. Wijngaards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This problem is 64 max for the windows event notification calls, WSAWaitForMultipleEvents. select() probably calls one of the others behind the scenes. Best regards, Wouter On 03/15/2010 05:56 PM, Patrick Galbraith wrote: > Nick, > > Thank you s