[tor-bugs] #3769 [Tor Relay]: Bufferevent-based server sometimes succeeds, sometimes fails.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Aug 27 20:07:22 UTC 2011


#3769: Bufferevent-based server sometimes succeeds, sometimes fails.
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:  #3561             
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by nickm):

 with respect to gurgle, Ian says (posting here with permission):

 {{{
 On port 5011 we seem to be running git version 218e84b634d10c2 (from
 your repo?)

 Kevin was playing with it today, but just to change the bandwidth
 parameters and HUPping it.

 Some weird log lines, though:

 Aug 25 19:59:30.000 [warn] Couldn't open "data/state.tmp" (data/state)
 for writing: Too many open files
 Aug 25 19:59:30.000 [warn] Unable to write state to file "data/state";
 will try again later
 Aug 25 20:00:46.000 [warn] Could not open "data/stats/dirreq-stats": Too
 many open files
 Aug 25 20:01:51.000 [notice] Heartbeat: Tor's uptime is 36 days 12:02
 hours, with 5932 circuits open. I've pushed 3630.23 GB and received
 3594.84 GB.
 Aug 25 20:14:03.000 [warn] Cannot seed RNG -- no entropy source found.
 Aug 25 20:28:38.000 [notice] Removed 21/7414 microdescriptors as old.
 Aug 25 20:28:38.000 [warn] Couldn't open "data/cached-microdescs.tmp"
 (data/cached-microdescs) for writing: Too many open files
 Aug 25 20:58:39.000 [notice] Removed 5/7393 microdescriptors as old.
 Aug 25 20:59:30.000 [warn] Couldn't open "data/state.tmp" (data/state)
 for writing: Too many open files
 Aug 25 20:59:30.000 [warn] Unable to write state to file "data/state";
 will try again later
 Aug 25 21:14:04.000 [warn] Cannot seed RNG -- no entropy source found.
 Aug 25 21:28:40.000 [notice] Removed 33/7388 microdescriptors as old.
 Aug 25 21:59:30.000 [warn] Couldn't open "data/state.tmp" (data/state)
 for writing: Too many open files
 ...
 Aug 26 15:29:16.000 [notice] Removed 47/7858 microdescriptors as old.
 Aug 26 16:00:40.000 [warn] Failing because we have 992 connections
 already. Please raise your ulimit -n. [589338339 similar message(s)
 suppressed in last 21600 seconds]
 Aug 26 16:29:18.000 [notice] Removed 48/7811 microdescriptors as old.
 Aug 26 17:14:24.000 [warn] Cannot seed RNG -- no entropy source found.


 It's not immediately apparent to me that running out of file descriptors
 should cause the SSL error you're seeing, though.
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3769#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list