1 # Defaults for tor initscript
2 # sourced by /etc/init.d/tor
3 # installed at /etc/default/tor by the maintainer scripts
6 # This is a POSIX shell fragment
11 # Servers sometimes may need more than the default 1024 file descriptors
12 # if they are very busy and have many clients connected to them.
15 MAX_FILEDESCRIPTORS=4096
18 # If tor is seriously hogging your CPU, taking away too much cycles from
19 # other system resources, then you can renice tor. See nice(1) for a
20 # bit more information. Another way to limit the CPU usage of an Onion
21 # Router is to set a lower BandwidthRate, as CPU usage is mostly a function
22 # of the amount of traffic flowing through your node. Consult the torrc(5)
23 # manual page for more information on setting BandwidthRate.
25 # NICE="--nicelevel 5"
28 # Sometimes epoll is broken. This happens to be the case on
29 # at least the maintainer's desktop box running Linux 2.6.11-rc1
32 # If tor does not work at all for you, i.e. connection attempts
33 # through tor just hang forever and never finish, then consider
34 # setting EVENT_NOEPOLL, so libevent does not use epoll. If that
35 # happens to fix it for you, please let the mainainer (weasel@debian.org)
36 # know, mentioning your kernel version, libevent version, and architecture.
40 # export EVENT_NOEPOLL
43 # Uncomment this if you want to get coredumps