High usage of mbufs

Mike Horwath drechsau at Geeks.ORG
Sat May 28 10:45:33 PDT 2005


On Sat, May 28, 2005 at 01:17:24PM +1000, Michael VInce wrote:
> Hi guys
> On one of my web servers I have a really high usage of mbuf clusters in 
> use on a web server that does about 3million hits a day.
> 4294914731/262144 mbuf clusters in use (current/max)
> Does any one know why this is? I was thought it may of been hit by a 
> small syn flood that went un noticed and that the current mbuf stat is 
> failing to update its real usage, but the number does move every time I 
> run netstat -m
> This is a dual P4 machine with 4gigs of ram that was setup before 5.4 
> was release, so it could be considered 5.3 stable.
> 5.4-PRERELEASE #0: Mon Feb 28 20:01:43 EST 2005
> 
> netstat -m
> 352955 mbufs in use
> 4294914731/262144 mbuf clusters in use (current/max)
> 0/27/6656 sfbufs in use (current/peak/max)
> 4177412 KBytes allocated to network
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 415 requests for I/O initiated by sendfile
> 2300 calls to protocol drain routines

Yah, I don't know, haven't had an issue on my news feeder box, but
here is my output:

[12:43pm] 6 [~]:canary% netstat -m
4107409126 mbufs in use
4159799080/25600 mbuf clusters in use (current/max)
0/6/6656 sfbufs in use (current/peak/max)
1541129 KBytes allocated to network
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
743625 calls to protocol drain routines
[12:43pm] 7 [~]:canary% uname -a
FreeBSD canary.octanews.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Apr 28 20:05:25 CDT 2005     root at canary.octanews.net:/usr/src/sys/i386/compile/CANARY  i386

1.5GB allocated for network?

Considering I am only seeing 177MB wired, that seems kind of odd.

-- 
Mike Horwath, reachable via drechsau at Geeks.ORG



More information about the freebsd-performance mailing list