kernel: looutput: mbuf allocation failed

Dan Nelson dnelson at allantgroup.com
Wed Apr 30 21:38:55 PDT 2003


In the last episode (Apr 30), Dave [Hawk-Systems] said:
> >> Recently had a box go dark for a few minutes...  pulled the
> >following from the
> >> logs shortly after the box revived itself.
> >>
> >> 	/kernel: looutput: mbuf allocation failed
> >>
> >> been a while since we have touched the kernel config for this
> >> server...  any pointers as to what settings we should lookat or
> >> touch to prevent this nastiness from occuring again?
> >
> >What does 'netstat -m' have to say?
> 
> nx1# netstat -m
> 1045/1856/6144 mbufs in use (current/peak/max):
>         977 mbufs allocated to data
>         68 mbufs allocated to packet headers
> 970/1536/1536 mbuf clusters in use (current/peak/max)
> 3536 Kbytes allocated to network (76% of mb_map in use)
> 27349 requests for memory denied
> 14 requests for memory delayed
> 0 calls to protocol drain routines

You've already maxed out your mbuf clusters, and possibly dropped 27349
packets.  Try putting "kern.ipc.nmbclusters=4096" in /boot/loader.conf
and rebooting.  1536 seems really low for a web/DNS server.
 
-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list