[tor-bugs] #2071 [BridgeDB]: BridgeDB stuck at 500 bridges

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Nov 5 02:08:04 UTC 2010


#2071: BridgeDB stuck at 500 bridges
-----------------------+----------------------------------------------------
 Reporter:  mikeperry  |       Owner:  mikeperry
     Type:  defect     |      Status:  accepted 
 Priority:  normal     |   Milestone:           
Component:  BridgeDB   |     Version:           
 Keywords:             |      Parent:           
-----------------------+----------------------------------------------------
Changes (by mikeperry):

  * owner:  => mikeperry
  * status:  new => accepted


Comment:

 Here is an updated script based on input from Roger:

 for i in tonga_logs_20101*;
 do
     echo ; echo $i
     new=`grep dirserv_add_descriptor $i | grep -c accepted`
     echo "New: $new"
     updated=`grep dirserv_add_descriptor $i | grep updated | awk '{ print
 $11; }' | sort | uniq | wc -l`
     echo "Updated: $updated"
     unreachable=`grep -c rep_hist_note_router_unreachable $i`
     unreachable=`echo "$unreachable/(3600*24/128/10)" | bc`
     echo "Unreachable: $unreachable"
     running=`echo "$new + $updated - $unreachable" | bc`
     echo "Running: $running"
 done

 It produces output more in line with what tonga is reporting. For example:

 tonga_logs_20101028
 New: 101
 Updated: 643
 Unreachable: 291
 Running: 453

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


More information about the tor-bugs mailing list