<div dir="ltr">Hi<div><br></div><div>Please verify the effective limit used for your tor process:</div><div><br></div><div>cat /proc/<pid>/limits</div><div><br></div><div>with <pid> process id of the tor process. could be that your tuning is not being picked up by the distro.</div><div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 15 Dec 2017 at 10:39 Ralph Seichter <<a href="mailto:m16%2Btor@monksofcool.net">m16+tor@monksofcool.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Since a couple of days ago, one of my relay nodes keeps logging messages<br>
like this:<br>
<br>
  Tor[3534]: Failing because we have 4063 connections already. Please<br>
  read doc/TUNING for guidance. [over 16000001 similar message(s)<br>
  suppressed in last 21600 seconds]<br>
<br>
I found <a href="https://trac.torproject.org/projects/tor/ticket/16929" rel="noreferrer" target="_blank">https://trac.torproject.org/projects/tor/ticket/16929</a> and an<br>
older mailing list thread (and doc/TUNING) that suggest increasing the<br>
maximum number of open file descriptors. I now use<br>
<br>
  # /etc/security/limits.conf<br>
  *  -  nofile  65535<br>
<br>
to raise 'nofile' from 1024 to 65535, which does not seem to make any<br>
difference (the logged error message does not change).<br>
<br>
My relay uses Gentoo Linux kernel version 4.14.5 and Tor 0.3.2.6 alpha.<br>
I also tried older versions of the kernel and Tor 0.3.1.9, in several<br>
combinations, without success. I also other relays running just fine<br>
with the default number of file descriptors (1024).<br>
<br>
As I mentioned, the problems started a few days ago, around the time I<br>
upgraded from Gentoo system profile default/linux/amd64/13.0 to<br>
default/linux/amd64/17.0, rebuilding many system packages in the<br>
process. Unfortunately I cannot tell what exactly changed. Since the<br>
profile upgrade was deliberate and I cannot roll back, I wonder if<br>
I can overcome Tor's problems via configuration options only?<br>
<br>
-Ralph<br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>