[or-cvs] step nine: raise your ulimit -n

Chris Palmer chris at eff.org
Sat Sep 10 20:46:12 UTC 2005


Your patch adds a helpful note for Debian (and all Linux?) users. For
OpenBSD (and all BSD?), the file to edit is /etc/login.conf. Here's the
entry I use to give enough resources to Tor (it is definitely overkill,
and some numbers are higher than the maximum possible):

tor:\
        :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:\
        :umask=022:\
        :datasize-max=4096M:\
        :datasize-cur=4096M:\
        :maxproc-max=4096:\
        :maxproc-cur=4096:\
        :openfiles-max=2048000:\
        :openfiles-cur=2048000:\
        :stacksize-cur=16M:\
        :vmemoryuse-max=4196M:\
        :vmemoryuse-cur=4196M:\
        :localcipher=blowfish,6:\
        :ypcipher=old:\
        :tc=auth-defaults:\
        :tc=auth-ftp-defaults:

-- 
http://www.eff.org/about/staff/#chris_palmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20050910/b0221375/attachment.pgp>


More information about the tor-commits mailing list