Hello everyone,
Tor can generally raise the limits itself, though, when started as root. Can you post the error message that caused you to ask this question ?
There's no error message, I followed this thread:
"Tor Server - DDOS or High Load"
there were talking about ulimits and I checked mine.
I also have to confess that there is no
rc_ulimit="-n NNNNNN"
option in my torrc file.
and tell us how you start Tor?
I start tor as the "debian-tor" user and with the delivered tools, that is:
/etc/init.d/tor start
Besides that, it seems to be very difficult for my relay (nickname ione) to get the "guard" flag, and I wondered if it may have any relation.
Thanks in advance, Lluís
Libertas: Hi, Lluís.
I think the ulimit is set on a per-process basis, inherited from the parent process, so raising it in another shell won't change anything. This can be seen by opening two terminals on a local machine or two SSH sessions on a remote machine and toying with the ulimits.
Tor can generally raise the limits itself, though, when started as root. Can you post the error message that caused you to ask this question, and tell us how you start Tor?
On 12/10/2014 05:03 PM, Lluís wrote:
The limit to open files is set to 1024 by default in my system. So it is for the "debian-tor" user, too. It seems to me a bit low.
I tried to rise it a whit through "sudo" and getting a shell for debian-tor, but it doesn't work.
Can I use PAM-LIMIT with tor ? If not, how can I set ulimit for debian-tor when booting ? And when restarting tor ?
BTW, may the open files ulimit preclude a relay to get the "guard" flag ?
thanks in advance,
Lluís Spain _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays