[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Running relay on OpenBSD ulimit problems



Thanks :)

I actually decided to migrate the box to FreeBSD because Tor was also hoggin 100% CPU, and my hope was that the Via Padlock driver in OpenBSD would save me clock cycles, unfortunately the OpenBSD version works less well, on free my CPU is now around 50% all the time. (running a small via c7 1500mhz routerbox and pushing between 10-30mbit of tor on a 100/100 line)

G

On 16-10-12 22:05, The Doctor wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/15/2012 04:23 PM, Gijs wrote:

I just created a new relay on my new firewall box thats running
openbsd, however I'm running into issues with ulimits:
I use this snippet in my /etc/rc.local script:

ulimit -n 8192
/usr/local/bin/tor -f /usr/local/etc/tor/torrc

It seems to do pretty well for a middleman node.  I think that's as
far as it can be pushed, but it's also been a while since I've read
the manpage for ulimit.  For what it's worth, it has never (to mine
memory) caused the box in question to lock up from resource
starvation, so if you've got a decent amount of RAM in the machine it
should not cause any problems.

- -- The Doctor [412/724/301/703] [ZS]
Developer, Project Byzantium: http://project-byzantium.org/

PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F  DD89 3BD8 FF2B 807B 17C1
WWW: https://drwho.virtadpt.net/

"Never recreate from your memory.  Always imagine new places." --Cobb,
_Inception_

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlB9vgYACgkQO9j/K4B7F8HpMwCaA/QXwUBUVpq2sGdKreQgn97V
QLMAnjOZ+GIkzTm4A74SeD+c3MUbL7UD
=a6pU
-----END PGP SIGNATURE-----
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays