diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-02-04 12:25:39 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-02-04 12:25:39 +0000 |
commit | 6e7007bfba6ea58e753eb1fa779d2793329cfab4 (patch) | |
tree | 6adee5a873800bac431a3e5a7751e1a2b3265626 /debian/tor.default | |
parent | de71abd23845232dba768fa55df3cbbecdef564c (diff) | |
download | tor-6e7007bfba6ea58e753eb1fa779d2793329cfab4.tar tor-6e7007bfba6ea58e753eb1fa779d2793329cfab4.tar.gz |
Add a snippet to set nice level in etc/default/tor
svn:r3558
Diffstat (limited to 'debian/tor.default')
-rw-r--r-- | debian/tor.default | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/tor.default b/debian/tor.default index 5a3d3e798..6b72d40c0 100644 --- a/debian/tor.default +++ b/debian/tor.default @@ -15,6 +15,16 @@ RUN_DAEMON="yes" MAX_FILEDESCRIPTORS=4096 # +# If tor is seriously hogging your CPU, taking away too much cycles from +# other system resources, then you can renice tor. See nice(1) for a +# bit more information. Another way to limit the CPU usage of an Onion +# Router is to set a lower BandwidthRate, as CPU usage is mostly a function +# of the amount of traffic flowing through your node. Consult the torrc(5) +# manual page for more information on setting BandwidthRate. +# +# NICE="--nicelevel 5" + +# # 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. |