---
id: 26
title: sysctl.conf Gallery
date: 2003-10-11T13:30:53+00:00
author: hky
layout: post
guid:
http://lostfocus.org/blog/?p=26
permalink: /sysctlconf-gallery/
dsq_thread_id:
- 887967698
categories:
- General
tags:
- General
---
**FreeBSD**
kern.ps_showallprocs=0
net.inet.tcp.msl=10000
net.inet.tcp.keepidle=5000
net.inet.tcp.keepintvl=7500
net.inet.tcp.blackhole=1
net.inet.udp.blackhole=1
net.inet.tcp.tcbhashsize=512
net.inet.tcp.log\_in\_vain=1
net.inet.udp.log\_in\_vain=1
net.inet.tcp.msl=10000
net.inet.tcp.keepidle=5000
net.inet.tcp.keepintvl=7500
net.inet.tcp.blackhole=1
net.inet.udp.blackhole=1
net.inet.tcp.tcbhashsize=512
kern.ipc.somaxconn=4096
kern.ipc.maxsockets=4040
net.inet.ip.intr\_queue\_maxlen=50
kern.maxfiles=65535
vfs.vmiodirenable=1
net.inet.tcp.sendspace=32768
net.inet.tcp.recvspace=57344
net.inet.tcp.inflight_enable=1
kern.ipc.shm\_use\_phys=1
net.inet.tcp.msl=10000
net.inet.ipf.fr_tcpidletimeout=864000
net.inet.ipf.fr_tcpclosewait=120
net.inet.ipf.fr_tcplastack=120
net.inet.ipf.fr_tcptimeout=240
net.inet.ipf.fr_tcpclosed=60
net.inet.ipf.fr_tcphalfclosed=300
net.inet.ipf.fr_udptimeout=90
net.inet.ipf.fr_icmptimeout=35
**NetBSD**
vfs.nfs.iothreads=8
kern.maxproc=8192
kern.maxfiles=8192
kern.mbuf.nmbclusters=8192
machdep.unaligned_print=1
machdep.unaligned_fix=1
machdep.unaligned_sigbus=0
proc.1.rlimit.maxproc.soft=120
proc.1.rlimit.memoryuse.soft=20971520
proc.1.rlimit.memoryuse.hard=20971520
proc.1.rlimit.memorylocked.soft=20971520
proc.1.rlimit.memorylocked.hard=20971520
**OpenBSD**
lupa.lagi=1