mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
0238cc4a6c
commit
abe7607f69
@ -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>
|
||||
|
||||
@ -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;
|
||||
|
||||
?>
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user