I wonder what color it will be

svn:r13628
This commit is contained in:
Peter Palfrader 2008-02-20 22:39:06 +00:00
parent c92c5733d6
commit ba977ed4f1
2 changed files with 3 additions and 3 deletions

4
debian/changelog vendored
View File

@ -3,7 +3,7 @@ tor (0.2.0.19-alpha+svn-1) unreleased; urgency=low
* Change the default for MAX_FILEDESCRIPTORS in our init script to depend * Change the default for MAX_FILEDESCRIPTORS in our init script to depend
on the number of system-wide available file descriptors: on the number of system-wide available file descriptors:
/proc/sys/fs/file-max is bigger than 80k, set ulimit -n to 32k, if it's /proc/sys/fs/file-max is bigger than 80k, set ulimit -n to 32k, if it's
greater than 40k set the limit to 16k, and when greater than 20k our limit greater than 40k set the limit to 16k, and when greater than 10k our limit
shall be 8k descriptors. If there are less than 20k FDs in the entire shall be 8k descriptors. If there are less than 20k FDs in the entire
system default to a limit of only 1024. system default to a limit of only 1024.
@ -11,7 +11,7 @@ tor (0.2.0.19-alpha+svn-1) unreleased; urgency=low
default of 8k no longer is sufficient. On the other hand we don't want default of 8k no longer is sufficient. On the other hand we don't want
lower end systems to run out of FDs on Tor's account. lower end systems to run out of FDs on Tor's account.
-- Peter Palfrader <weasel@debian.org> Wed, 20 Feb 2008 23:33:00 +0100 -- Peter Palfrader <weasel@debian.org> Wed, 20 Feb 2008 23:38:45 +0100
tor (0.2.0.19-alpha-1) experimental; urgency=low tor (0.2.0.19-alpha-1) experimental; urgency=low

2
debian/tor.init vendored
View File

@ -32,7 +32,7 @@ if [ -r /proc/sys/fs/file-max ]; then
MAX_FILEDESCRIPTORS=32768 MAX_FILEDESCRIPTORS=32768
elif [ "$system_max" -gt "40000" ] ; then elif [ "$system_max" -gt "40000" ] ; then
MAX_FILEDESCRIPTORS=16384 MAX_FILEDESCRIPTORS=16384
elif [ "$system_max" -gt "20000" ] ; then elif [ "$system_max" -gt "10000" ] ; then
MAX_FILEDESCRIPTORS=8192 MAX_FILEDESCRIPTORS=8192
else else
MAX_FILEDESCRIPTORS=1024 MAX_FILEDESCRIPTORS=1024