[Tor-BSD] Kernel crashes FreeBSD 11

teor teor2345 at gmail.com
Thu May 18 20:18:32 EDT 2017

> On 18 May 2017, at 21:08, Paul <pa011 at web.de> wrote:
>> You can compare the output of sysctl kern.maxfiles (which is the limit)
>> with sysctl kern.openfiles (which is the actual value), to see how close
>> you are to that limit. You could use that for resetting, as you
>> mentioned, but I'd suggest to change OS and/or Tor settings instead.
> 512MB RAM seem to result in kern.maxfiles: 15349
> Currently only up to 25% are to be open on different machines

If the socket buffers are too large, try:

ConstrainedSockets 1

If they're still too large, try:

ConstrainedSockSize 4096


ConstrainedSockSize 2048

If there are too many sockets, try:
(This option is known to close too many sockets.)

DisableOOSCheck 0

For more details, see:


(Oh, and don't modify ConnLimit, it won't help.)

Tim Wilson-Brown (teor)

teor2345 at gmail dot com
PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B
xmpp: teor at torproject dot org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.nycbug.org/pipermail/tor-bsd/attachments/20170519/86837169/attachment.bin>

More information about the Tor-BSD mailing list