Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2005 12:45:31 -0500
From:      Mike Horwath <drechsau@Geeks.ORG>
To:        Michael VInce <mv@roq.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: High usage of mbufs
Message-ID:  <20050528174531.GA38323@octanews.net>
In-Reply-To: <4297E2C4.1030505@roq.com>
References:  <4297E2C4.1030505@roq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@Geeks.ORG




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050528174531.GA38323>