summaryrefslogtreecommitdiff
path: root/debian/tor.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tor.init')
-rw-r--r--debian/tor.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/tor.init b/debian/tor.init
index afb7f7eecc..d026240aaf 100644
--- a/debian/tor.init
+++ b/debian/tor.init
@@ -32,7 +32,7 @@ if [ -r /proc/sys/fs/file-max ]; then
MAX_FILEDESCRIPTORS=32768
elif [ "$system_max" -gt "40000" ] ; then
MAX_FILEDESCRIPTORS=16384
- elif [ "$system_max" -gt "20000" ] ; then
+ elif [ "$system_max" -gt "10000" ] ; then
MAX_FILEDESCRIPTORS=8192
else
MAX_FILEDESCRIPTORS=1024