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

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



#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:                    
-------------------------------------+--------------------------------------
 Hey there,

 gabelmoo is seeing almost full cpu utilization lately. I'm running
 openssl1 and libevent master. Traffic is at around 200KB/s, so not very
 much. Here's a profile for everything over 0.5%:

 {{{
 samples  %        image name               app name                 symbol
 name
 397332   26.8226  libc.so.6                libc.so.6
 /home/karsten/debug/libc.so.6
 210739   14.2263  libpthread.so.0          libpthread.so.0
 __pthread_mutex_unlock_usercnt
 157849   10.6559  libpthread.so.0          libpthread.so.0
 pthread_mutex_lock
 62969     4.2508  tor                      tor
 connection_handle_write
 56998     3.8477  tor                      tor
 _openssl_locking_cb
 44452     3.0008  tor                      tor
 assert_connection_ok
 38146     2.5751  tor                      tor
 connection_bucket_write_limit
 37917     2.5597  [vdso] (tgid:17627 range:0x7fffb85ff000-0x7fffb8600000)
 tor                      [vdso] (tgid:17627
 range:0x7fffb85ff000-0x7fffb8600000)
 32683     2.2063  tor                      tor
 flush_buf_tls
 29224     1.9728  tor                      tor
 connection_is_rate_limited
 28245     1.9067  tor                      tor
 connection_bucket_round_robin
 25259     1.7052  tor                      tor
 tor_tls_get_error
 22309     1.5060  tor                      tor
 tor_tls_write
 21562     1.4556  tor                      tor
 assert_buf_ok
 20642     1.3935  tor                      tor
 get_options_mutable
 19521     1.3178  tor                      tor
 approx_time
 19272     1.3010  tor                      tor
 _check_no_tls_errors
 19108     1.2899  tor                      tor
 conn_write_callback
 18312     1.2362  tor                      tor
 tor_addr_is_internal
 14932     1.0080  tor                      tor
 tor_tls_get_forced_write_size
 14237     0.9611  tor                      tor
 tor_gettimeofday_cache_clear
 12501     0.8439  librt.so.1               librt.so.1
 /home/karsten/debug/librt.so.1
 11918     0.8045  tor                      tor
 tor_mutex_acquire
 11907     0.8038  tor                      tor
 tor_mutex_release
 11376     0.7680  tor                      tor
 connection_bucket_refill
 9770      0.6595  tor                      tor
 connection_is_listener
 9582      0.6468  tor                      tor
 connection_is_reading
 9493      0.6408  tor                      tor
 tor_tls_state_changed_callback
 9087      0.6134  tor                      tor
 connection_is_writing
 8689      0.5866  tor                      tor
 TO_OR_CONN
 7890      0.5326  tor                      tor
 connection_state_is_connecting
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4626>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs