[or-cvs] Force an increase in file descriptors on start

phobos at seul.org phobos at seul.org
Thu Feb 9 05:08:26 UTC 2006


Update of /home/or/cvsroot/tor/contrib
In directory moria:/tmp/cvs-serv8685

Modified Files:
	tor.sh.in 
Log Message:
Force an increase in file descriptors on start


Index: tor.sh.in
===================================================================
RCS file: /home/or/cvsroot/tor/contrib/tor.sh.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -d -r1.10 -r1.11
--- tor.sh.in	24 Dec 2005 04:03:39 -0000	1.10
+++ tor.sh.in	9 Feb 2006 05:08:23 -0000	1.11
@@ -23,6 +23,9 @@ elif [ -f /etc/init.d/functions ]; then
    . /etc/init.d/functions
 fi
 
+# Increase open file descriptors a reasonable amount
+ulimit -n 4096
+
 TORCTL=@BINDIR@/torctl
 
 # torctl will use these environment variables



More information about the tor-commits mailing list