[tor-bugs] #1042 [Tor - Relay]: rate-limit MaxOnionsPending warns

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Aug 1 00:19:38 UTC 2010


#1042: rate-limit MaxOnionsPending warns
--------------------------------+-------------------------------------------
 Reporter:  arma                |         Type:  defect     
   Status:  new                 |     Priority:  minor      
Milestone:  Tor: 0.2.2.x-final  |    Component:  Tor - Relay
  Version:  0.2.1.19            |   Resolution:  None       
 Keywords:  easy                |       Parent:             
--------------------------------+-------------------------------------------

Old description:

> If your cpu can't keep up with the number of create cells you get, you'll
> fill your logs with warnings:
>
>   if (ol_length >= get_options()->MaxOnionsPending) {
>     log_warn(LD_GENERAL,
>              "Your computer is too slow to handle this many circuit "
>              "creation requests! Please consider using the "
>              "MaxAdvertisedBandwidth config option or choosing a more "
>              "restricted exit policy.");
>
> We should make the warning only happen once a minute or something.
>
> [Automatically added by flyspray2trac: Operating System: All]

New description:

 If your cpu can't keep up with the number of create cells you get, you'll
 fill your logs with warnings:

   if (ol_length >= get_options()->MaxOnionsPending) {
     log_warn(LD_GENERAL,
              "Your computer is too slow to handle this many circuit "
              "creation requests! Please consider using the "
              "MaxAdvertisedBandwidth config option or choosing a more "
              "restricted exit policy.");

 We should make the warning only happen once a minute or something.

 [Automatically added by flyspray2trac: Operating System: All]

--

Comment(by Sebastian):

 NAK on the patch. It changes the wrong warning.

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


More information about the tor-bugs mailing list