-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
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