<p dir="ltr">Do you think it might help to restart tor every 24 hours or so using cron Dan - or would that adversely affect the network too much/not actually help?</p>
<div class="gmail_quote">On 14 Oct 2013 22:32, "Dan Staples" <<a href="mailto:danstaples@disman.tl">danstaples@disman.tl</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In my experience, setting the bandwidth advertising options does<br>
nothing to stop the "storms" of circuit creation requests. It *will*<br>
affect the *average* bandwidth used by your relay, but every once in a<br>
while, I'll still get circuit-creation storms that completely overwhelm<br>
my RPi and knock it offline (I'm talking continuous 3Mbps bandwidth use<br>
for several hours when MaxAdvertisedBandwidth is 200 kbps). It seems<br>
from past discussions on the mailing list, this is still an unresolved<br>
issue.<br>
<br>
On Mon 14 Oct 2013 04:43:50 PM EDT, Chris Whittleston wrote:<br>
> Thanks Logforme - yeah I was trying that before I sent the first email<br>
> in this chain, but maybe I didn't go low enough with the advertised<br>
> bandwidth. When the 0.2.4 compilation is done (it's still chugging<br>
> along) I'll try going lower and see if it helps.<br>
><br>
> Chris<br>
><br>
><br>
> On 14 October 2013 21:38, Logforme <<a href="mailto:m7527@abc.se">m7527@abc.se</a><br>
> <mailto:<a href="mailto:m7527@abc.se">m7527@abc.se</a>>> wrote:<br>
><br>
>     On 2013-10-14 22:01, Chris Whittleston wrote:<br>
>     > I see - so I'll probably still see the problem with a huge number of<br>
>     > circuits being created after I've finished building 0.2.4. Is there<br>
>     > any way to limit this, I'm guessing reducing the bandwidth wouldn't<br>
>     > actually help? I guess I'll look into how much further I can<br>
>     overclock<br>
>     > the CPU...<br>
>     Only option that I know of is to reduce the bandwidth you advertise to<br>
>     the network. The more bandwidth you advertise the more circuits<br>
>     the tor<br>
>     network will throw at your relay. The following flags in the torrc<br>
>     file<br>
>     can be used (with my current understanding of them):<br>
>     BandwidthRate : The max bandwidth you provide over a long period<br>
>     of time<br>
>     BandwidthBurst : The max bandwidth you provide over a short period<br>
>     of time<br>
>     MaxAdvertisedBandwidth : The max bandwidth you tell the tor<br>
>     network about<br>
>     So you can set BandwidthRate to the real max you want to provide and<br>
>     then set MaxAdvertisedBandwidth to a number low enough to prevent<br>
>     circuit overload.<br>
><br>
>     _______________________________________________<br>
>     tor-relays mailing list<br>
>     <a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><br>
>     <mailto:<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a>><br>
>     <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
><br>
><br>
><br>
><br>
> --<br>
> *Dr Chris Whittleston 栗主*<br>
> Department of Chemistry<br>
> University of Cambridge<br>
> Lensfield Road, Cambridge, CB2 1EW<br>
> Email: <a href="mailto:csw34@cam.ac.uk">csw34@cam.ac.uk</a> <mailto:<a href="mailto:csw34@cam.ac.uk">csw34@cam.ac.uk</a>><br>
> Tel: <a href="tel:%2B44%20%280%291223%20336423" value="+441223336423">+44 (0)1223 336423</a><br>
><br>
><br>
> _______________________________________________<br>
> tor-relays mailing list<br>
> <a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><br>
> <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
<br>
--<br>
<a href="http://disman.tl" target="_blank">http://disman.tl</a><br>
OpenPGP key: <a href="http://disman.tl/pgp.asc" target="_blank">http://disman.tl/pgp.asc</a><br>
Fingerprint: 2480 095D 4B16 436F 35AB 7305 F670 74ED BD86 43A9<br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>