Commit f39b4fb3 authored by Robert Ricci's avatar Robert Ricci
Browse files

Up the buffer sizes for UNIX domain sockets to help syslogd scale

better.
parent 6e61de18
......@@ -6,6 +6,14 @@ This file is in the same format at the FreeBSD UPDATING file, whis is
to say, in reverse chronological order, with the date of the change
in YYYYMMDD format.
20040120:
Bumped up the sizes on some buffers to help network performance.
Add the following two lines to /etc/sysctl.conf:
net.local.dgram.maxdgram=65536
net.local.dgram.recvspace=65536
20040112:
Big change to bootinfo sequence.
......
......@@ -85,6 +85,8 @@ my $RNDC_KEY = "/usr/local/etc/rndc.key";
my $LOADER_CONF = "/boot/loader.conf";
my $SYSCTL_CONF = "/etc/sysctl.conf";
#
# Some directories we care about
#
......@@ -546,6 +548,14 @@ Phase "loader.conf", "Setting up $LOADER_CONF", sub {
);
};
Phase "sysctl.conf", "Setting up $SYSCTL_CONF", sub {
DoneIfEdited($SYSCTL_CONF);
AppendToFileFatal($SYSCTL_CONF,
"net.local.dgram.maxdgram=65536",
"net.local.dgram.recvspace=65536"
);
};
print "----------------------------------------------------------------------\n";
print "Installation completed succesfully!\n";
print "Please reboot this machine before proceeding with boss setup\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment