Hi all,
I set up a new tor relay named trshck using a raspberry pi a few days ago.
All was going fine until early today, when a lot of warning have started appearing in the log file:
"[warn] 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."
I've looked up this message and found some comments but nothing clear about how to solve the issue. I think this can be related with the recent acquisition of the HSDir flag.
The relay is not configured to be an exit node.
The number of open circuits has greatly increase in the last few hours:
"Circuit handshake stats since last time: 4860/4984 TAP, 228464/229242 NTor."
MaxAdvertisedBandwidth is not set, only:
"RelayBandwidthRate 200 KB RelayBandwidthBurst 300 KB"
What do you advice me to do?
Regards,
Joan Terrassa Hacklab
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hello,
Thanks for running a relay. Yes, the raspberry CPU is kind of slow for Tor, especially if you are using the old raspberry-pi with arm-v6 cpu and 512MB of ram.
RelayBandwidthRate and RelayBandwidthBurst settings are ok, you might want to increase them since the raspberry should be able to handle: RelayBandwidhRate 600 KB RelayBandwidthBurst 1200 KB
Also, your consensus weight is currently 82, so you should not experience many circuit requests from clients building circuits through your relay. So, I think you are right and it is a result of your HSDir flag (you are selected as HSDir for a popular hidden service probably).
This makes me wonder if we need to reconsider the criteria for assigning HSDir flags, a relay with a consensus weight of 82 should not be eligible for this flag.
Anyway, can you remove DirPort from your torrc, only allow ORPort and restart? I think we don't assign HSDir flag to relays without DirPort set, so try this - it is also helpful for you, since you have really scarce CPU resources you might want to use them all for Tor circuits and not for mirroring directory data. Let me know if this fixed it for you.
On 10/24/2015 6:09 PM, trshck_tor@riseup.net wrote:
Hi all,
I set up a new tor relay named trshck using a raspberry pi a few days ago.
All was going fine until early today, when a lot of warning have started appearing in the log file:
"[warn] 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."
I've looked up this message and found some comments but nothing clear about how to solve the issue. I think this can be related with the recent acquisition of the HSDir flag.
The relay is not configured to be an exit node.
The number of open circuits has greatly increase in the last few hours:
"Circuit handshake stats since last time: 4860/4984 TAP, 228464/229242 NTor."
MaxAdvertisedBandwidth is not set, only:
"RelayBandwidthRate 200 KB RelayBandwidthBurst 300 KB"
What do you advice me to do?
Regards,
Joan Terrassa Hacklab
On 10/24/2015 05:09 PM, trshck_tor@riseup.net wrote:
I've looked up this message and found some comments but nothing clear about how to solve the issue. I think this can be related with the recent acquisition of the HSDir flag.
On devices with small CPU, it's indeed best to disable hidden service directory participation:
HidServDirectoryV2 0
And, as s7r suggested, disabling DirPort is a good idea as well.
tor-relays@lists.torproject.org