Initial configuration

System variables

by ross at 13:37:55 on January 28, 2014

/etc/sysctl.conf:

# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
security.bsd.see_other_uids=0

vfs.usermount=1

# kern.ipc.shmall = kern.ipc.shmmax / hw.pagesize
kern.ipc.shmmax=1073741824
kern.ipc.shmall=262144

net.inet.tcp.recvspace=65536
net.inet.udp.recvspace=65536
net.inet.udp.maxdgram=131072

Many tunables, like kern.maxfiles, are set via kern.maxusers in loader.conf. See tuning(7).

 

Comments