Re: High usage of mbufs

From: Mike Horwath (drechsau_at_Geeks.ORG)
Date: 05/28/05

  • Next message: Matthew D. Fuller: "Re: High usage of mbufs"
    Date: Sat, 28 May 2005 12:45:31 -0500
    To: Michael VInce <mv@roq.com>
    
    

    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
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
    

  • Next message: Matthew D. Fuller: "Re: High usage of mbufs"

    Relevant Pages

    • Re: FreeBSD unstable on Dell 1750 using SMP?
      ... 49/25600 mbuf clusters in use ... 0/0/0 sfbufs in use ... requests for sfbufs delayed ... If switching to single CPU mode works, it's good to hear that I have ...
      (freebsd-stable)
    • Re: No buffer space available error
      ... when PowerDNS DNS server tries to do some recursive work. ... for a solution and I found out that the error should appear when the mbuf ... requests for sfbufs delayed ...
      (freebsd-questions)
    • NFS on 5.4
      ... installation is new, 5.4. ... 736/32768 mbuf clusters in use ... 0/3/4464 sfbufs in use ... requests for sfbufs delayed ...
      (freebsd-questions)
    • strangeness about netstat -m and mbuf clusters
      ... caipi# netstat -m ... 4294964312/25600 mbuf clusters in use ... 0/4/6656 sfbufs in use ... requests for sfbufs delayed ...
      (freebsd-stable)
    • NFS on 5.4
      ... installation is new, 5.4. ... 736/32768 mbuf clusters in use ... 0/3/4464 sfbufs in use ... requests for sfbufs delayed ...
      (freebsd-stable)