summaryrefslogtreecommitdiff
path: root/debian/tor.default
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tor.default')
-rw-r--r--debian/tor.default7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/tor.default b/debian/tor.default
index a9a023105a..92491c2b1d 100644
--- a/debian/tor.default
+++ b/debian/tor.default
@@ -8,6 +8,13 @@
RUN_DAEMON="yes"
#
+# Servers sometimes may need more than the default 1024 file descriptors
+# if they are very busy and have many clients connected to them.
+# (ulimit -n)
+#
+MAX_FILEDESCRIPTORS=4096
+
+#
# Uncomment this if you want to get coredumps
#
ulimit -c unlimited