Re: Tor doc/TUNING Review

2014-11-21 Thread Libertas
This is the warning message I saw: https://gitweb.torproject.org/tor.git/blob/42b42605f8d8eac25361be229354f6393967df4f:/src/common/compat.c#l1555 Although I suppose you could also get one of the related ones in the same function. On 11/21/2014 12:40 PM, Stefan Sperling wrote: > On Fri, Nov 21, 2

Re: Tor doc/TUNING Review

2014-11-21 Thread Stefan Sperling
On Fri, Nov 21, 2014 at 02:39:02PM -0500, Libertas wrote: > It shouldn't be an issue with clients IIRC, as they only maintain a few > circuits. > > I just ran 'sudo lsof | wc -l' on a Linux guard relay that moves a > little less than 1 MB/s (not much traffic), and it returned >12,500. If > anyone

Re: Tor doc/TUNING Review

2014-11-21 Thread Libertas
It shouldn't be an issue with clients IIRC, as they only maintain a few circuits. I just ran 'sudo lsof | wc -l' on a Linux guard relay that moves a little less than 1 MB/s (not much traffic), and it returned >12,500. If anyone else reading this has an active Tor relay running OpenBSD with unalter

Re: Tor doc/TUNING Review

2014-11-21 Thread Stefan Sperling
On Fri, Nov 21, 2014 at 12:30:57PM -0500, Libertas wrote: > Hmm, have you been keeping an eye on your logs? I eventually got a > warning telling me that Tor had to stop opening connections because it > couldn't open any more files. Regardless, Tor frequently opens thousands > of files, while the de

Re: Tor doc/TUNING Review

2014-11-21 Thread lists
On Fri, Nov 21, 2014 at 12:30:57PM -0500, Libertas wrote: > Hmm, have you been keeping an eye on your logs? I eventually got a > warning telling me that Tor had to stop opening connections because it > couldn't open any more files. Regardless, Tor frequently opens thousands > of files, while the de

Re: Tor doc/TUNING Review

2014-11-21 Thread Libertas
Hmm, have you been keeping an eye on your logs? I eventually got a warning telling me that Tor had to stop opening connections because it couldn't open any more files. Regardless, Tor frequently opens thousands of files, while the default hard limit for OpenBSD users is 512-1024 files. My Linux nod

Re: Tor doc/TUNING Review

2014-11-21 Thread lists
On Fri, Nov 21, 2014 at 05:51:52PM +0100, Stefan Sperling wrote: > In which configuration does tor need to open many files? > I've been running a tor relay on OpenBSD for more than a year without > any adjustments to ulimits and didn't notice any problems. I can second this. I've used Tor from pa

Re: Tor doc/TUNING Review

2014-11-21 Thread Stefan Sperling
On Fri, Nov 21, 2014 at 11:28:56AM -0500, Libertas wrote: > Can anyone do me a favor and let me know whether this short guide, along > with the correction described in the comments, is correct? > > https://trac.torproject.org/projects/tor/ticket/13702 In which configuration does tor need to open

Tor doc/TUNING Review

2014-11-21 Thread Libertas
Can anyone do me a favor and let me know whether this short guide, along with the correction described in the comments, is correct? https://trac.torproject.org/projects/tor/ticket/13702