syslogd not draining



Hi,

I've got a machine running syslogd, DNS, DHCP, flow-capture, and other
assorted UDP-loving programs. Occasionally, they all stop working.
The machine has been up for a couple of hours now, and I see:

ns1/etc;netstat -s | grep full
Warning: sysctl(net.inet6.ip6.rip6stats): No such file or directory
122066 dropped due to full socket buffers
ns1/etc;

I've doubled kern.ipc.maxsockbuf a couple of times now, and yet it
still happens.

After some help from questions@, I'm pretty sure that the culprit is
syslogd.

udp4 0 0 *.67 *.*
udp4 43414 0 *.514 *.*
udp4 0 0 *.49661 *.*

Things run perfectly for a while, and then we suddenly stop answering
UDP requests. We continue not answering UDP requests until I restart
syslogd.

syslogd -d didn't give anything interesting.

I'm now running syslogd -n, to see if that helps. I'm also restarting
syslogd every fifteen minutes, to ensure that the problem can last no
longer than 14 minutes. :-)

Anyone interested in why syslogd is not draining the queue?

Thanks,
==ml


--
Michael W. Lucas mwlucas@xxxxxxxxxxx, mwlucas@xxxxxxxxxxxxxxxxxxxx
http://www.BlackHelicopters.org/~mwlucas/

"The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • syslog fails after latest patch bundle.
    ... snippet of the output of running syslogd in debug mode. ... logerror_to_console: syslogd: line 12: unknown priority name ...
    (comp.unix.solaris)
  • Re: cisco logging to syslogd?
    ... have you restarted syslogd with remote host logging enabled? ... do this by running syslogd -h? ...
    (comp.unix.bsd.freebsd.misc)
  • Re: syslogd not logging messages from remote host
    ... Did you restart syslogd after making this change? ... The logger command, as well as anything using the syslogfunction on ... a message from the kernel - that's probably not relevant though. ...
    (comp.unix.bsd.freebsd.misc)
  • syslogd fails to start after dist-upgrade(sarge)
    ... Why does syslogd need a services entry if logging is being done locally? ... services file messed up during the upgrade? ... colin@spanky~/$invoke-rc.d sysklogd restart ...
    (Debian-User)
  • Re: System logging not working.
    ... Sep 28 12:30:35 duzi syslogd 1.3-0: restart. ... [root@duzi anton]# cat /var/run/syslogd.pid ...
    (comp.os.linux.setup)