[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] epoll erros



On Fri, Oct 22, 2010 at 1:38 PM, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
 [...]
> 4 is conceivable under a couple of weird circumstances.  Might there
> be more than one event_base in the application, so that fd 13 is
> actually getting added/removed from separate event_bases?  Might there
> be multithreading issues?  Is the application forking, then calling
> (or not calling) event_reinit, then using Libevent stuff?

Actually, straceing the application up to the point where it gets its
first message like

[warn] Epoll ADD(1) on fd 13 failed.  Old events were 0; read change
was 1 (add); write change was 0 (none): File exists

would probably help if option 4 or option  is the case.  If you do
this, please send the strace and the debug log for the same run
together.  If it's more than 10 or 20 KiB, though, please upload it
somewhere and post a URL or send it to me personally?  I've got a
feeling lots of folks on this list don't necessarily want multiple
100KiB attachments.

peace,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.