Add sysctl for maximum socket buffer sizing. Set to 42621444. This is needed for some heavily loaded servers running unbound, squid, etc

This commit is contained in:
Scott Ullrich 2011-01-04 12:27:23 -05:00
parent 0238cc4a6c
commit abe7607f69
2 changed files with 9 additions and 3 deletions

View File

@ -135,6 +135,11 @@
<tunable>net.inet.tcp.tso</tunable>
<value>default</value>
</item>
<item>
<descr>Maximum socket buffer size</descr>
<tunable>kern.ipc.maxsockbuf</tunable>
<value>default</value>
</item>
</sysctl>
<system>
<optimization>normal</optimization>

View File

@ -3,7 +3,7 @@
/*
globals.inc
part of pfSense (www.pfsense.com)
Copyright (C) 2004-2006 Scott Ullrich
Copyright (C) 2004-2010 Scott Ullrich
Originally Part of m0n0wall
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
@ -159,9 +159,10 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024",
"net.inet.tcp.log_debug" => "0",
"net.inet.tcp.tso" => "1",
"net.inet.icmp.icmplim" => "0",
"vfs.read_max" => "32"
"vfs.read_max" => "32",
"kern.ipc.maxsockbuf" => "4262144"
);
$config_parsed = false;
?>
?>