Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#1231 closed defect (invalid)

Epoll MOD on fd 146 failed.

Reported by: stars Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: stars, Sebastian, nickm, arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:



Today i have a waring in my log that i never see before from libevent.

janv. 25 04:39:28.180 [Warning] Warning from libevent: Epoll MOD on fd 146 failed. Old events were 6; read change was 0; write change was 2.: Bad file descriptor

Tor v0.2.2.7-alpha (git-a93cabd9ab1ea961). (Running on Linux x86_64), Linux moon 2.6.31-18-generic #55-Ubuntu SMP Fri Jan 8 14:54:52 UTC 2010 x86_64 GNU/Linux

Kububtu karmic 9.10

tor commit a93cabd9ab1ea9614136033f6c17eac295ff4adf

libevent commit 70a4a3ef141e8e5f21549669fc4f67ae75d150f1


[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Change History (6)

comment:1 Changed 10 years ago by arma

Nick, does this look like something libevent already fixed, or should we try
to turn it into a bug report for libevent?

comment:2 Changed 10 years ago by nickm

It's not possible right now to tell whether this is a Libevent bug or a Tor bug. Either way it's a self-healing
issue, but it might reflect a deeper bug in either program. On My List is better diagnosis for what's going on

comment:3 Changed 10 years ago by nickm

(On my short-term list is making the warning less scary.)

comment:4 Changed 10 years ago by nickm

[John also said on bug 1326:


I running Tor v0.2.2.10-alpha-dev (git-fe3380609e6444aa) and libevent version 2.0.4-alpha-dev commit 33874b05286834b6ec690ee2ae22912691ec6d85

and this morning i become a warn that i see for the first time.

mars 22 00:57:18.642 [Warning] Warning from libevent: Epoll DEL on fd 21 failed. Old events were 2; read change was 2; write change was 0.: Operation not permitted

Linux 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux


comment:5 Changed 10 years ago by nickm

Resolution: Noneinvalid
Status: newclosed

Okay, so I am 99% sure at this point that we're looking at a libevent bug. Adding a bug entry there; closing this one.

new bug url:

comment:6 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.