-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/11/2013 02:18 PM, Stephan wrote: > On 11.09.2013 13:33, Random Tor Node Operator wrote: >> Could you post the corresponding line(s) in your monitrc? > > Of course. I use the default of "set daemon 120", so tor is checked > once every 120 seconds ('one cycle'). The tor specific part of the > configuration is this: > > if failed host 127.0.0.1 port 9030 type tcp for 10 cycles then > restart if failed host 127.0.0.1 port 9001 type tcp for 10 cycles > then restart if 5 restarts within 100 cycles then timeout > > I'm still experimenting with the exact numbers. Restarting after > only one failed check was obviously too fast. Waiting for 10 > consecutive failed checks (i.e. tor is not responding for 20 > minutes) may be too long, but I don't want to ruin the 'stable' > flag only because a botnet is wreaking havoc for a few minutes. > > The last line is kind of a safeguard. I get monit alerts by email. > If something is seriously broken with my server (or tor) five mails > will suffice. Even if I am on vacation for a few weeks, I don't > need a reminder every 20 minutes. ;-)
Thanks. My cycle time is 60 seconds and I'm now trying out 5 cycles for restarting. Bazinga's Stable flag is already gone due to those rogue restarts. It'll hopefully recover soon. - --RTNO -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSMIK6AAoJEJe61A/xrcOQa9oQAKu7qNF96HgcAjvYHSI5tkwb CX5U/hvxaXQj1wvYDKcoodVBL8rTmUNzeblI0pGIsAZ57znwPOII05OwspUJznor kDdmZbihtqwENwQ/Z02iGH2mLu9HMpcm8el5X8gTtSHyWM3vU2UrvVUxV2VJBsal U/TUGILNLv/aETGslQxcXM8d1h5IdOsbGts61VpjbITEqfTepXF3/zzrp0ZaxjD6 AXyLAdIs2uZRo1AtrYDwfOw2yb11qEpKnXfd6foB1+9EVLoVuJyJnR95IYipY8Wa krFHdY32IkOljZhtVy9nIS6DUQP4Ld57FqvNHJ2sHIUNc3vUmtY88pDgjaFqHln/ 5qdogx+3IiRsGYQpg/xQmNl0y+elKfw+3YRKkSWE0eI2htTBdrqw/FShRFeH83YI e7tmJZrj0WEcVM+yl4RcsXPvLC0wY64JFo1tqTICvqmFwHxqyikw6+FUKg0knygU /O14i0BC6o3dl8VzN80dlLZrbeDd/MFDKw/rO8UbC1GfufaklQ/i+qvArgpwwqz0 6H9NeEzmz8xrS5jVdLu3TAH8IAcDl93xlPzjDWpoTwbpLOK/B8/hFvph/7xTlPfy fOd7MlzStPyrbQftWg3LYU9svQphMbC1dGZFGm9gcuiYAB68KAz42ymWIPu6JWoy mxt725/8dzu/bv8b6Kek =Xy7A -----END PGP SIGNATURE----- _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays