All pastes #227111 Raw Edit

Untitled

public text v1 · immutable
#227111 ·published 2006-10-29 01:25 UTC
rendered paste body
#KERN.IPC
kern.ipc.maxsockets="32768"             # Set the maximum number of sockets avaliable
kern.ipc.nmbclusters="0"                # Set the number of mbuf clusters
kern.ipc.nmbufs="0"                     # Set the maximum number of mbufs       #this netstat -m 0
#kern.ipc.nsfbufs=""                    # Set the number of sendfile(2) bufs
net.inet.tcp.tcbhashsize="16384"        # Set the value of TCBHASHSIZE


#KERN.MAX
kern.dfldsiz="2147483648"               # Set the initial data size limit       # 2G
kern.dflssiz="2147483648"               # Set the initial stack size limit      # 2G
kern.maxdsiz="2147483648"               # Set the max data size                 # 2G
kern.maxtsiz="2147483648"               # Set the max text size                 # 2G
kern.maxssiz="2147483648"               # Set the max stack size                # 2G

#NET.INET
#net.inet.tcp.hostcache.cachelimit=32768        # Set limit of entrys in the hostcache database. See net.inet.tcp.hostcache.list
#net.inet.tcp.hostcache.hashsize=2048            # Set the hash size of this database i assume. so 20480 connections would need at most 2 steps to reach. Bina
#net.inet.tcp.hostcache.bucketlimit=60          # No idea default 30 freebsd 6.0