diff options
author | Andrew Lewman <andrew@torproject.org> | 2006-02-09 05:08:23 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2006-02-09 05:08:23 +0000 |
commit | 2d8e125b097f72128b4eaa821e76730a226b5682 (patch) | |
tree | 828e8d6a5a96d329e812aef72e7446d950900ff1 /contrib/tor.sh.in | |
parent | ee2966d850144993259ef4d951801622a4d2835a (diff) | |
download | tor-2d8e125b097f72128b4eaa821e76730a226b5682.tar.gz tor-2d8e125b097f72128b4eaa821e76730a226b5682.zip |
Force an increase in file descriptors on start
svn:r5945
Diffstat (limited to 'contrib/tor.sh.in')
-rw-r--r-- | contrib/tor.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/tor.sh.in b/contrib/tor.sh.in index e9e604dd5b..771ad66ad5 100644 --- a/contrib/tor.sh.in +++ b/contrib/tor.sh.in @@ -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 |