Chris Byrnes
2004-Jan-11 14:49 UTC
All mbufs exhausted/Random spontaneous reboots started today
Sorry for the crosspost, not sure where this should go. Please cc me in replies because I am not subscribed. Server was up almost 134 days and spontaneously rebooted this morning saying "All mbufs exhausted, please see tuning(7)." Had never seen it before, read up on it and figured something just happened causing a lot of memory usage or something, chalked it up to an abnormality. Took the opportunity to upgrade to the latest -STABLE and rebooted. Server was up for 30 minutes and just rebooted AGAIN with the same message(s).. Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7). Jan 11 16:32:50 last message repeated 33 times Jan 11 16:34:44 last message repeated 127 times Do you have any idea what's causing this and how I can monitor/stop it? Thank you.. Chris
Kent Stewart
2004-Jan-11 14:58 UTC
All mbufs exhausted/Random spontaneous reboots started today
On Sunday 11 January 2004 02:49 pm, Chris Byrnes wrote:> Sorry for the crosspost, not sure where this should go. Please cc me in > replies because I am not subscribed. > > Server was up almost 134 days and spontaneously rebooted this morning > saying "All mbufs exhausted, please see tuning(7)." Had never seen it > before, read up on it and figured something just happened causing a lot of > memory usage or something, chalked it up to an abnormality. > > Took the opportunity to upgrade to the latest -STABLE and rebooted. > > Server was up for 30 minutes and just rebooted AGAIN with the same > message(s).. > > Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7). > Jan 11 16:32:50 last message repeated 33 times > Jan 11 16:34:44 last message repeated 127 times > > Do you have any idea what's causing this and how I can monitor/stop it? >Could you have missed a security update and some one found your hole? Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html
Einstein Oliveira
2004-Jan-11 15:15 UTC
All mbufs exhausted/Random spontaneous reboots started today
Chris Byrnes wrote:> Sorry for the crosspost, not sure where this should go. Please cc me in > replies because I am not subscribed. > > Server was up almost 134 days and spontaneously rebooted this morning saying > "All mbufs exhausted, please see tuning(7)." Had never seen it before, read > up on it and figured something just happened causing a lot of memory usage > or something, chalked it up to an abnormality. > > Took the opportunity to upgrade to the latest -STABLE and rebooted. > > Server was up for 30 minutes and just rebooted AGAIN with the same > message(s).. > > Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7). > Jan 11 16:32:50 last message repeated 33 times > Jan 11 16:34:44 last message repeated 127 times > > Do you have any idea what's causing this and how I can monitor/stop it? >Use netstat -m to chek the current configuration/load. It's something like this: ---- 191/8272/65536 mbufs in use (current/peak/max): 186 mbufs allocated to data 5 mbufs allocated to packet headers 170/8128/16384 mbuf clusters in use (current/peak/max) ^^^^^^^^^^^^^^ 18324 Kbytes allocated to network (37% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines ---- You can modify the number of mbufs with sysctl variable kern.ipc.nmbclusters. Usually setting this on /boot/loader.conf ex.: kern.ipc.nmbclusters=16384 Check also tuning(7) ;)> Thank you.. > > > Chris >-- Einstein Oliveira einstein@yawl.com.br ______________________________________________________ Yawl Internet Ltda. http://www.yawl.com.br/
Pawel Malachowski
2004-Jan-11 15:17 UTC
All mbufs exhausted/Random spontaneous reboots started today
On Sun, Jan 11, 2004 at 04:49:07PM -0600, Chris Byrnes wrote:> Server was up almost 134 days and spontaneously rebooted this morning saying > "All mbufs exhausted, please see tuning(7)." Had never seen it before, read > up on it and figured something just happened causing a lot of memory usage > or something, chalked it up to an abnormality. > > Took the opportunity to upgrade to the latest -STABLE and rebooted. > > Server was up for 30 minutes and just rebooted AGAIN with the same > message(s).. > > Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7). > Jan 11 16:32:50 last message repeated 33 times > Jan 11 16:34:44 last message repeated 127 times > > Do you have any idea what's causing this and how I can monitor/stop it?Latest STABLE? Interesting. I had similar problem in the past, but this was fixed. Please obtain a crashdump and show backtrace. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN) -- Pawe? Ma?achowski
Pawel Malachowski
2004-Jan-11 15:20 UTC
All mbufs exhausted/Random spontaneous reboots started today
On Sun, Jan 11, 2004 at 09:15:15PM -0200, Einstein Oliveira wrote:> You can modify the number of mbufs with sysctl variable > kern.ipc.nmbclusters.This will hide a problem, without fixing it. -- Pawe? Ma?achowski