Re: [HEADS-UP] mbuma is in the tree

From: Frode Nordahl <frode_at_nordahl.net>
Date: Wed, 2 Jun 2004 11:06:41 +0200
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jun 02 2004 - 00:06:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC