Commit Graph

12 Commits

Author SHA1 Message Date
Peter Palfrader
644452a62f 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
2008-02-20 22:28:09 +00:00
Peter Palfrader
979c71632d * Create /var/run/tor on init script start if it does not exist already.
* Set default ulimit -n to 8k instead of 4k in /etc/default/tor.


svn:r5852
2006-01-23 14:02:03 +00:00
Peter Palfrader
ccba428dbc Say that tor.default is a bash shell fragment now
svn:r5382
2005-11-15 10:33:54 +00:00
Peter Palfrader
333e179f3e Remove the EVENT_NOEPOLL block from etc/default/tor.
Add an ARGS block to etc/default/tor as suggested in #338425.


svn:r5381
2005-11-15 10:30:36 +00:00
Andrew Lewman
a966100a63 Fix typo referring to AMD64.
svn:r4805
2005-08-22 00:48:21 +00:00
Peter Palfrader
6e7007bfba Add a snippet to set nice level in etc/default/tor
svn:r3558
2005-02-04 12:25:39 +00:00
Peter Palfrader
59e89e2b89 Fix typo
svn:r3514
2005-02-03 11:27:56 +00:00
Peter Palfrader
7f51007678 Add a snippet to disable epoll in etc/default/tor, commented out.
svn:r3513
2005-02-03 11:20:56 +00:00
Peter Palfrader
cbb1b33fb5 Set ulimit for file descriptors to 4096 in our init script
svn:r3501
2005-02-02 06:20:38 +00:00
Peter Palfrader
a4b4ec9430 Enable coredumps by default
svn:r2172
2004-08-06 22:36:07 +00:00
Peter Palfrader
732ff6e272 Add "# ulimit -c unlimited" to tor.default
svn:r1221
2004-03-03 12:33:40 +00:00
Peter Palfrader
9d3cf1b4d1 First go at a debian package
svn:r987
2004-01-13 13:40:00 +00:00