tor.default 1.4 KB

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