[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

Attachment: pgp4JNujhbHnz.pgp
Description: PGP signature