2

I moved my Tor exit relay from my main server to a dedicated Raspberry Pi a week or two ago, and while it seemed to run fine at first it's been crashing a lot lately.

I made the heartbeat more frequent and checked the logs, and it looks like after a reboot the relay runs fine with ~150 open circuits for about 12 hours, then suddenly jumps up to 600 open circuits, prints a bunch of Your computer is too slow to handle this many circuit creation requests! errors and then crashes.

I tried overclocking the Pi, upping the MaxOnionsPending to 250, and reducing the MaxAdvertisedBandwidth to 250KB, and none of those seemed to help. An email thread I saw speculated that this happens "when your relay becomes the hidden service directory, or introduction point, for a popular hidden service."

Does anyone have any ideas how to fix this? People who are running relays on Raspberry Pis, have you seen this or know how to deal with it?

Andrew Lott
  • 2,744
  • 5
  • 28
  • 46
Alex Ryan
  • 191
  • 6

1 Answers1

2

I've found a simple solution - it seems this problem only appears on 0.2.3.x. After upgrading to 0.2.4.x, the problem went away completely. Incidentally, the CPU usage efficiency seems to have been drastically improved in the new version.

This is still somewhat problematic, as Tor in the standard Raspbian repos is still at 0.2.3.25. Fortunately, it's easy to compile 0.2.4.20 from source according to the instructions here.

Alex Ryan
  • 191
  • 6
  • Does anyone know who to talk to about getting Tor up to date in the repos? – Alex Ryan Jan 25 '14 at 10:35
  • weasel, who is the maintainer of Debians version of Tor, wrote some longer description in his answer. He explains why you have to compile it for yourself at the moment. – Jens Kubieziel Jan 25 '14 at 10:48
  • I saw that - he said "If you want to run newer Tor versions than are available from the Raspbian folks, you will have to build them yourself." I'm wondering who "the Raspbian folks" are and if we can ask them to update the version of Tor that they currently have in their repos. – Alex Ryan Jan 25 '14 at 22:49
  • I gues the Raspbian folks are the developers listed here: http://www.raspbian.org/RaspbianTeam?highlight=%28contact%29 – Jens Kubieziel Jan 26 '14 at 09:42