Dear Misc,

I have an issue with growth of UDP syslog outstripping performance of my box.
Am running GENERIC#1368 amd64 as a VM on ESX. It is a task oriented box with
no X/GUI & I can allocate more mem if required.

# netstat -s -p udp
udp:
        797597485 datagrams received
        0 with incomplete header
        0 with bad data length field
        30832 with bad checksum
        1003 with no checksum
        797565479 input packets hardware-checksummed
        0 output packets hardware-checksummed
        3988 dropped due to no socket
        61584 broadcast/multicast datagrams dropped due to no socket
        0 dropped due to missing IPsec protection
        26521322 dropped due to full socket buffers
        770979759 delivered
        984188 datagrams output
        797115636 missed PCB cache
#

Had a read of http://www.openbsd.org/faq/faq6.html#Tuning. And tried
increasing net.inet.udp.recvspace=9216 -> 65536 which has had little or no
positive impact.
I suspect I am just increasing the size of UDP packet I can receive (which was
probably fine to start with) instead of the total size of the UDP buffer - or
do I need to increase the IP buffer. Can anyone clear this up for me?

Doc at http://www.29west.com/docs/THPM/udp-buffer-sizing.html not openbsd
specific and specifies FreeBSD, Darwin sysctl -w kern.ipc.maxsockbuf=8388608
which is not part of openbsd sysctl but looks to be along the lines of what I
need to do.

V lost in kernel land. Any advice/explanation most welcome. Thx in advance.

IB


________________________________
Snowy Hydro: Confidential Communication.
This email (which includes any attachments) may contain information that is
confidential, legally privileged or protected by copyright.
If this email has been sent to you by mistake, please inform us by reply and
then delete the email and destroy any printed copy and do
not disclose or use the information in it. There is no warranty that this
email is error or virus free. If this is a private communication
it does not represent the views of Snowy Hydro. Snowy Hydro collects personal
information to provide our services. For more information about use,
disclosure and access see our privacy policy at www.snowyhydro.com.au.

Reply via email to