[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Changing ulimit for debian-tor



-----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@xxxxxxxxxxxxxxxxxxxx 
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUiMgxAAoJELxHvGCsI27N860QAKoryfHQZVTAAqrwEKrW5IVz
hWOu5Mnisvn+M81ZPgsdqw25Jz2Tjidw3J+TqIjlNTfid5y5RwTMNKQsbbPjL4B9
AD0GP0/kChKrf+1YVpi5jWedKDvZrRlSTTRPzQcZSyg8+LLEJQAgiZr2DI0LqSZR
tk6WxP6oSCQdvrTF/JT8AvE2HYDTK4A/PHft48ZYPNgzH0mS8oyWOdmVuHB7FCZz
ySk29pR0NBSlBrp0J7uJn0UGQUo4d9K5vdQwY6WkTZN6iE0rjqUm77p/QEMRyd5F
0xWfWqYg6wipf/3GJ1Oj1faebvuZGgcjK3rsBb0ATFkIKoioufxJfNxLkbHnbwMD
CkAcdsqz7rAcNFqAs1m4JEgktbybkyzBqDKpuz2TpO9zHcnElesjmeeElZlj3yb6
Lj+8vcbJCIaq3NSSAySQ/piwhQX5kEtQFLyBo6+JUv60e5IjLm7/uLu5FJTGtUiP
5iBJbH/lsfUhDLRlwiloBFZBVUV9CigQmJqPQ8TIt6ZBJ/gyg2COAKuQfCH2HRMH
beJxsvFCMWBD+Sgi52Nk7M0TtyliKCVQXYFyEaYkg6ynwb6TIwNrx53XurGK+diQ
DdzLONkAk3XzFxouesjTLhCLOcoJLd/jCh3xPZNmhml6key+MleKSLRHTec3WME/
YbQp5qqoNjWAUKpkn6Wu
=eVVP
-----END PGP SIGNATURE-----
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays