Hi all,
I am running a tor node (idkneitzel) on a linux server (using opensuse 12.3).
Today I saw: Oct 01 14:20:34.000 [warn] Failing because we have 8163 connections already. Please raise your ulimit -n.
So I modified the /etc/security/limits.conf and added: * soft nofile 65000 * soft nofile 65535 and rebooted the system but now I got that warning again. Did I missunderstood the warning and should I add other entries, too?
And now I also got the following warning: Oct 01 18:25:19.000 [warn] Cannot get strong entropy: no entropy source found.
Now I am unsure, what I should do regarding this point. (After a restart, this message seems to no longer occur but I am still curious what is going on here).
Thank you in advance for your help.
With kind regards,
Konrad
On Tue, Oct 01, 2013 at 08:42:51PM +0200, Konrad Neitzel wrote:
I am running a tor node (idkneitzel) on a linux server (using opensuse 12.3).
Today I saw: Oct 01 14:20:34.000 [warn] Failing because we have 8163 connections already. Please raise your ulimit -n.
So I modified the /etc/security/limits.conf and added:
soft nofile 65000
soft nofile 65535
and rebooted the system but now I got that warning again. Did I missunderstood the warning and should I add other entries, too?
Did you mean to write "hard" for one of these softs?
I'm not sure what happens if you set two soft limits and leave the hard limit alone, but "it doesn't do what you want" would not surprise me.
And now I also got the following warning: Oct 01 18:25:19.000 [warn] Cannot get strong entropy: no entropy source found.
That sounds like a side effect of not having enough file descriptors.
Are you using a Tor rpm (in which case maybe you should submit a patch for it), or just installing from source (in which case maybe you should use a Tor rpm)?
--Roger
Hi!
On Tue, 2013-10-01 at 15:00 -0400, Roger Dingledine wrote:
On Tue, Oct 01, 2013 at 08:42:51PM +0200, Konrad Neitzel wrote:
So I modified the /etc/security/limits.conf and added:
soft nofile 65000
soft nofile 65535
Did you mean to write "hard" for one of these softs?
Ohh. That should have been "hard" on the second line. Stupid error on my side which I corrected now. Will report if that solved the issue.
And now I also got the following warning: Oct 01 18:25:19.000 [warn] Cannot get strong entropy: no entropy source found.
That sounds like a side effect of not having enough file descriptors.
Are you using a Tor rpm (in which case maybe you should submit a patch for it), or just installing from source (in which case maybe you should use a Tor rpm)?
I installed tor from source. The distribution only provides the stable version and the tor project does not have a rpm for opensuse. I thought that it might be best to not use rpm that was build on different distributions.
With kind regards,
Konrad
On Tue, Oct 1, 2013 at 9:51 PM, Konrad Neitzel konrad@neitzel.de wrote:
Hi!
On Tue, 2013-10-01 at 15:00 -0400, Roger Dingledine wrote:
On Tue, Oct 01, 2013 at 08:42:51PM +0200, Konrad Neitzel wrote:
So I modified the /etc/security/limits.conf and added:
soft nofile 65000
soft nofile 65535
Did you mean to write "hard" for one of these softs?
Ohh. That should have been "hard" on the second line. Stupid error on my side which I corrected now. Will report if that solved the issue.
And now I also got the following warning: Oct 01 18:25:19.000 [warn] Cannot get strong entropy: no entropy source found.
That sounds like a side effect of not having enough file descriptors.
Are you using a Tor rpm (in which case maybe you should submit a patch for it), or just installing from source (in which case maybe you should use a Tor rpm)?
I installed tor from source. The distribution only provides the stable version and the tor project does not have a rpm for opensuse. I thought that it might be best to not use rpm that was build on different distributions.
Hi,
I build up-to-date Tor packages for openSUSE in my home repo. Packages include a conf file to raise file limits for Tor. See link below for my repo
http://download.opensuse.org/repositories/home:/microchip8/
With kind regards,
Konrad
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Hi! On Tue, 2013-10-01 at 22:55 +0200, Grozdan wrote:
First thank you all for your quick assistance. After fixing my typing error everything works fine again. I will keep the installation I have right now but when new versions will be available I will consider to switch to a rpm instead.
But at the moment I would say that the configuration isn't that complex and the installation from source is also straight forward and easy. (As long as you are able to read your configuration correctly ... wondering why I didn't see the typing error myself. In Germany we have a saying "I had tomatoes on my eyes" - not sure if something like this exist in the English language, too :) )
I build up-to-date Tor packages for openSUSE in my home repo. Packages include a conf file to raise file limits for Tor. See link below for my repo
That is good to know. I will remember that and maybe come back to it later. With kind regards,
Konrad
On 13-10-01 03:00 PM, Roger Dingledine wrote:
On Tue, Oct 01, 2013 at 08:42:51PM +0200, Konrad Neitzel wrote:
And now I also got the following warning: Oct 01 18:25:19.000 [warn] Cannot get strong entropy: no entropy source found.
That sounds like a side effect of not having enough file descriptors.
Are you using a Tor rpm (in which case maybe you should submit a patch for it), or just installing from source (in which case maybe you should use a Tor rpm)?
I am using the .deb package which does set the ulimit.
To increase the available bits of entropy i installed haveged as well, but i am not sure it was needed or if it is having a good effect. http://www.issihosts.com/haveged/
tor-relays@lists.torproject.org