[tor-relays] Help finding relay bottleneck

Nusenu nusenu at openmailbox.org
Mon Mar 23 17:26:21 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

renke brausse:
> James,
> 
>> I've also raised the maximum number of open file descriptors for
>> the debian-tor user. In /etc/security/limits.conf I added 
>> debian-tor       soft    nofile          65000 debian-tor
>> hard    nofile          65000 I'm not sure if this worked because
>> (even after reboot) sudo -u debian-tor bash ulimit -Hn returns
>> 4096.
> 
> I'm currently not in front of a Debian box but I believe you will
> need to change the pam.d configuration, the limits module is imho
> not loaded in the su(do) configuration.

James, if you use the default init.d script that comes with
torproject's tor package you shouldn't have to worry about file
descriptors.

You can verify it via

grep open /proc/<tor pid>/limits

I see you are only running a single tor instance. If you are on a
GBit/s link you certainly want to run more than one instance.


The 3 months graph on atlas show a steady grow in used bw, so it looks
like it will continue that way.
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVEEy9AAoJEFv7XvVCELh02J8P/28fEEyZyNozUNVZ11S2SVI5
LUQ9tBd5+bJdk4AsCFxu+OFkes+uI+uvaA0jb0i8xX0epS6gr42sLa4deBd1USH2
gyUBQYNu9ejSfl2xrWnxNDM19UJTqw59QcfwIuwObjiP5YEma0CQ9VbK5CBP6N9H
wJI0berlhchY0k31BqrwDVMHSkbxTbVd9dYNkQ1So6VnOqoi5vkt4oFAlWNzvMLL
vpgPrFMr+JKVIDVXM8CYt16oYc0EfatKmuNgaMsrF2zAGoZXHaTuoeeWcPZqHGKq
T7/EzlhjNsKYaVoINeitgG1EaRqPeHe0QRx8+fjPxorJMGMdtOI69sMk5HNwSkql
X01BgNhwhizpQBoi1fmwHipbIppMBEPqwBdKPeUTuTl9RyJ9uD6kJG5w1JqZx1eB
AvuRzgLK/JLKH8LzsYI4FKfnzg08RWPk6XmfDF218LWFzXV9kYVf6/KtnfEa+mnp
RV5jxyh0asuGxnl2xQBNt0Bn48kM8xvNAZGfmlivW+j/tHTolSAHj7LoUJfpodxj
vC+mFY3Swq772EBZ4mdZwAVEy1LGMMaIMMAuLVIv1Y67lmon+p6xvpglhRWZNJyF
yYWy0kxjIAj0qW9AOBB9Q0cxvrZQ70gxcsfVWpSimhs6Y1QwJGvYi8BnMieiF0CE
9WdLPL1OO/mXGTxtTAHl
=zLbh
-----END PGP SIGNATURE-----


More information about the tor-relays mailing list