Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2004 11:06:41 +0200
From:      Frode Nordahl <frode@nordahl.net>
To:        Bosko Milekic <bmilekic@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [HEADS-UP] mbuma is in the tree
Message-ID:  <29C3F4DB-B474-11D8-A18D-000A95A9A574@nordahl.net>
In-Reply-To: <20040531215101.GA60299@freefall.freebsd.org>
References:  <20040531215101.GA60299@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 31, 2004, at 23:51, Bosko Milekic wrote:
> Additional things worth noting/known issues (READ):

[snip]

>    - Giant leak in NFS code sometimes occurs, can't
>      reproduce but currently analyzing; brueffer is
>      able to reproduce but THIS IS NOT an mbuma-specific
>      problem and currently occurs even WITHOUT mbuma.

Just a mee too on this one.

I'm running two NFS servers on 5.2.1-RELEASE (with the old mbuf code 
obviously), and I see the problem with leakage here.  Don't know a way 
to reproduce it yet, but it happends over time. This happends both on a 
UP and a SMP machine.

After more than a month of uptime, the mbuf map starts to get eaten up.

Is there any way to look at the mbuf cache while the system is running 
to see what is in there?

Example:
host1: up 76 days
mbuf usage:
         GEN cache:      1962/4256 (in use/in pool)
         CPU #0 cache:   22742/23040 (in use/in pool)
         Total:          24704/27296 (in use/in pool)
         Mbuf cache high watermark: 512
         Maximum possible: 51200
         Allocated mbuf types:
           24670 mbufs allocated to data
           31 mbufs allocated to packet headers
           3 mbufs allocated to socket names and addresses
         53% of mbuf map consumed

host2: up 23 days
mbuf usage:
         GEN cache:      1/768 (in use/in pool)
         CPU #0 cache:   254/608 (in use/in pool)
         CPU #1 cache:   0/512 (in use/in pool)
         CPU #2 cache:   0/512 (in use/in pool)
         CPU #3 cache:   3/512 (in use/in pool)
         Total:          258/2912 (in use/in pool)
         Mbuf cache high watermark: 512
         Maximum possible: 51200
         Allocated mbuf types:
           258 mbufs allocated to data
         5% of mbuf map consumed


Cheers,
Frode Nordahl

> Cheers,
> Bosko
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29C3F4DB-B474-11D8-A18D-000A95A9A574>