Web Hosting Talk







View Full Version : Server Crashes on Mbuff error


ClusterMania
12-07-2002, 01:41 PM
Load and Cpu is good but crashes on Mbuff error. I can't increase it anymore cause it would not bootup with new changes =/ What could I do? Could it be bad motherboard or harddrive?


last pid: 694; load averages: 0.08, 0.04, 0.01 up 0+00:02:24 09:39:09
483 processes: 1 running, 482 sleeping
CPU states: 1.2% user, 0.0% nice, 9.1% system, 3.3% interrupt, 86.4% idle
Mem: 139M Active, 62M Inact, 205M Wired, 37M Cache, 18M Buf, 1568M Free
Swap: 2048M Total, 2048M Free
Dec 7 09:39:08 redapple /kernel: All mbuf clusters exhausted, please see tuning(7).
Dec 7 09:39:08 redapple /kernel: All mbuf clusters exhausted, please see tuning(7).
411 www -18 0 119M 57764K mclalc 1 0:03 6.83% 5.81% thttpd
445 www -18 0 50964K 32620K mclalc 0 0:01 2.60% 2.15% thttpd
443 www -18 0 56276K 37576K mclalc 0 0:01 2.54% 2.10% thttpd
447 www -18 0 64532K 10292K mclalc 1 0:01 1.19% 0.98% thttpd
693 root 28 0 2484K 1712K CPU1 0 0:00 1.85% 0.78% top
108 root 2 0 976K 684K select 1 0:02 0.26% 0.24% syslogd
183 root 2 0 4428K 3672K select 0 0:00 0.00% 0.00% httpd
449 www -18 0 25212K 5652K mclalc 1 0:00 0.00% 0.00% thttpd
451 www -18 0 19460K 6584K mclalc 1 0:00 0.00% 0.00% thttpd
123 root 2 0 2232K 1676K select 1 0:00 0.00% 0.00% sshd
635 root 18 0 1372K 956K pause 0 0:00 0.00% 0.00% csh
111 bind 2 0 2380K 2008K select 0 0:00 0.00% 0.00% named
558 root 2 0 2316K 1936K select 0 0:00 0.00% 0.00% sshd
362 www 2 0 4508K 3752K sbwait 0 0:00 0.00% 0.00% httpd
207 mysql 2 0 26960K 4724K poll 1 0:00 0.00% 0.00% mysqld
378 www 2 0 4508K 3752K sbwait 0 0:00 0.00% 0.00% mysqld
493 www 2 0 4520K 3752K sbwait 1 0:00 0.00% 0.00% httpd
487 www 2 0 4520K 3752K sbwait 0 0:00 0.00% 0.00% httpd
227 www 2 0 4508K 3752K sbwait 0 0:00 0.00% 0.00% httpd
258 www 2 0 4508K 3752K accept 1 0:00 0.00% 0.00% httpd
378 www 2 0 4508K 3752K sbwait 1 0:00 0.00% 0.00% httpd

rcs
12-07-2002, 01:43 PM
What does netstat -m shows?

ClusterMania
12-07-2002, 02:05 PM
As soon at it gets above 65535 it goes down. So far traffic is down.

netstat -m
53612/60272/262140 mbufs in use (current/peak/max):
53595 mbufs allocated to data
15 mbufs allocated to packet headers
2 mbufs allocated to fragment reassembly queue headers
52278/57566/65535 mbuf clusters in use (current/peak/max)
130200 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
redapple# Dec 7 10:07:24 redapple /kernel: ipfw: limit 100 reached on entry -1
netstat -m
53336/60272/262140 mbufs in use (current/peak/max):
53245 mbufs allocated to data
87 mbufs allocated to packet headers
4 mbufs allocated to fragment reassembly queue headers
51717/57566/65535 mbuf clusters in use (current/peak/max)
130200 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
redapple# netstat -m
53400/60272/262140 mbufs in use (current/peak/max):
53320 mbufs allocated to data
76 mbufs allocated to packet headers
4 mbufs allocated to fragment reassembly queue headers
51796/57566/65535 mbuf clusters in use (current/peak/max)
130200 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
redapple# netstat -m
53103/60272/262140 mbufs in use (current/peak/max):
53090 mbufs allocated to data
9 mbufs allocated to packet headers
4 mbufs allocated to fragment reassembly queue headers
51615/57566/65535 mbuf clusters in use (current/peak/max)
130200 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
redapple# netstat -m
53298/60272/262140 mbufs in use (current/peak/max):
53261 mbufs allocated to data
34 mbufs allocated to packet headers
3 mbufs allocated to fragment reassembly queue headers
51705/57566/65535 mbuf clusters in use (current/peak/max)
130200 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

ClusterMania
12-13-2002, 12:40 PM
netstat -m
62707/72384/262140 mbufs in use (current/peak/max):
62626 mbufs allocated to data
81 mbufs allocated to packet headers
61512/65536/65535 mbuf clusters in use (current/peak/max)
149168 Kbytes allocated to network (11% of mb_map in use)
630073 requests for memory denied
7219 requests for memory delayed
0 calls to protocol drain routines
redapple# netstat -tn | grep -c 80
574
redapple# netsDec 13 08:42:36 redapple /kernel: All mbuf clusters exhausted, please see tuning(7).