diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-02-20 22:28:09 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-02-20 22:28:09 +0000 |
commit | 644452a62fde5fec66dab56c4f47204f42b57bac (patch) | |
tree | edd45cffb77bd2bf1396303852826e8fab1bacac /debian/compat | |
parent | 384a8ab777999c984509ad57d9d8ae859a0ed5c9 (diff) | |
download | tor-644452a62fde5fec66dab56c4f47204f42b57bac.tar tor-644452a62fde5fec66dab56c4f47204f42b57bac.tar.gz |
Change the default for MAX_FILEDESCRIPTORS in our init script to depend on the
number of system-wide available file descriptors: /proc/sys/fs/file-max is
bigger than 100k, set ulimit -n to 32k, if it's smaller than 20k set it to
1024. Big servers at the moment regularly use more than 10k FDs, so our old
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.
svn:r13625
Diffstat (limited to 'debian/compat')
0 files changed, 0 insertions, 0 deletions