[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
How to determine the current number of open files for the Tor user?
- To: or-talk@xxxxxxxxxxxxx
- Subject: How to determine the current number of open files for the Tor user?
- From: Joerg Maschtaler <mali@xxxxxxxxxxxx>
- Date: Tue, 14 Nov 2006 23:16:00 +0100 (MET)
- Delivered-to: archiver@seul.org
- Delivered-to: or-talk-outgoing@seul.org
- Delivered-to: or-talk@seul.org
- Delivery-date: Tue, 14 Nov 2006 17:21:56 -0500
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
- User-agent: Thunderbird 1.5.0.7 (X11/20060922)
Hi,
after a notice in the logfile that I should increase the number of open
files I follow the instructions of
http://tor.eff.org/docs/tor-doc-server.html.en -> Step three -> chapter 16.
(BTW, the provided link in this chapter
http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FileDescriptors
does not have a target).
I added the line "myTorUser hard nofile 8192" to /etc/security/limits.conf.
Additionally i set "ulimit -n 8192" in the .bashrc (my Tor user uses the
bash).
At last i set "ulimit -n 8192" in roots shell before restarting the Tor
server.
The notice to increase the number of open files does not appear anymore
but is there a way to find out the value of "ulimit -n" for the Tor user
whithout login as Tor user?
Thx,
Joerg