summaryrefslogtreecommitdiff
path: root/debian/tor.default
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-02-03 11:20:56 +0000
committerPeter Palfrader <peter@palfrader.org>2005-02-03 11:20:56 +0000
commit7f51007678ab91997eea8dbb1ed66ebb6b9b7d6f (patch)
tree08e4a5afe2d506a2b30888f4825ace79c4644f0c /debian/tor.default
parent051cda803e917cabaa4f8addb5079eca0066fc58 (diff)
downloadtor-7f51007678ab91997eea8dbb1ed66ebb6b9b7d6f.tar.gz
tor-7f51007678ab91997eea8dbb1ed66ebb6b9b7d6f.zip
Add a snippet to disable epoll in etc/default/tor, commented out.
svn:r3513
Diffstat (limited to 'debian/tor.default')
-rw-r--r--debian/tor.default15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/tor.default b/debian/tor.default
index 92491c2b1d..43021aa1f2 100644
--- a/debian/tor.default
+++ b/debian/tor.default
@@ -15,6 +15,21 @@ RUN_DAEMON="yes"
MAX_FILEDESCRIPTORS=4096
#
+# Sometimes epoll is broken. This happens to be the case on
+# at least the maintainer's desktop box running Linux 2.6.11-rc1
+# on adm64.
+#
+# If tor does not work at all for you, i.e. connection attempts
+# through tor just have forever and never finish, then consider
+# setting EVENT_NOEPOLL, so libevent does not use epoll. If that
+# happens to fix it for you, please let the mainainer (weasel@debian.org)
+# know, mentioning your kernel version, libevent version, and architecture.
+# Thanks!
+#
+# EVENT_NOEPOLL=yes
+# export EVENT_NOEPOLL
+
+#
# Uncomment this if you want to get coredumps
#
ulimit -c unlimited