[tor-bugs] #4626 [Tor Directory Authority]: Very high cpu usage for gabelmoo running master

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Dec 1 15:07:13 UTC 2011

#4626: Very high cpu usage for gabelmoo running master
 Reporter:  Sebastian                |          Owner:                    
     Type:  defect                   |         Status:  new               
 Priority:  normal                   |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Directory Authority  |        Version:                    
 Keywords:                           |         Parent:                    
   Points:                           |   Actualpoints:                    

Comment(by nickm):

 Wow, that pthread_mutex stuff is pretty surprising.  Very little in Tor
 uses locks, and locks are usually pretty cheap unless there's contention.
 It could be locks used by libc or openssl, but I'd be a little surprised
 if so.

 I know there are some tools out there that can debug locking performance
 issues, but I don't know which are best or how to use them.

 Is there any way to drill down into the libc chunk there?

 What build options was Tor/Libevent built with here?  Is there anything
 crazy in your logs?

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

More information about the tor-bugs mailing list