summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-03 19:48:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-03 19:48:59 +0000
commit6f954b495a46b6fcc4a2935463693039192417f6 (patch)
tree81b6b0264f4c665530d1f7d5db84e6b47ea9ed10 /etc
parentd0a371bf98b8a3a4e80e220a662401222f337f59 (diff)
downloadpfsense-6f954b495a46b6fcc4a2935463693039192417f6.zip
pfsense-6f954b495a46b6fcc4a2935463693039192417f6.tar.gz
Set the recv and send space to 4096 when folks use pfSense on 64 megabyte machines.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.bootup2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index c39c6b1..7a00960 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -313,6 +313,8 @@
if($avail < 126) {
require_once("/etc/inc/notices.inc");
file_notice("pfSenseMemoryRequirements", "pfSense requires atleast 128 megabytes of RAM. Expect unusual performance. This platform is not supported.", "Memory", "", 1);
+ mwexec("sysctl net.inet.tcp.recvspace=4096");
+ mwexec("sysctl net.inet.tcp.sendspace=4096");
}
/* done */
OpenPOWER on IntegriCloud