Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 09:37:55 +0100
From:      Antony T Curtis <antony@abacus.co.uk>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: mbuf leakage on 4.1.1-STABLE
Message-ID:  <39E6C9E3.FAFF6C47@abacus.co.uk>
References:  <A567A7C3889FD2119D2600204840388C03E9EAE3@uemspricpf3.cpf.navy.mil>

next in thread | previous in thread | raw e-mail | index | archive | help
"Kuriyama, Kent K Mr (CPF N651KK)" wrote:
> 
> Chris,
> 
> Your email prompted me to look at mbuf utilization on a 4.1.1-STABLE box
> that is currently not in production.
> 
> outside# netstat -m
> 130/160/7168 mbufs in use (current/peak/max):
>         129 mbufs allocated to data
>         1 mbufs allocated to packet headers
> 128/136/1792 mbuf clusters in use (current/peak/max)
> 312 Kbytes allocated to network (92% in use)
>                                  ^^^^^^^^^^
> 0 requests for memory denied
> 0 requests for memory delayed
> 0 calls to protocol drain routines
> outside# uptime
>  4:32AM  up 1 day, 14:01, 1 user, load averages: 0.00, 0.00, 0.00
> 
> I don't know whether to be concerned about the 92% utilization since the
> number of bytes allocated seems low.  The machine has never crashed but then
> it has never served as a server.
> 
> Is this kind of mbuf utilization expected?
> 
> Kent Kuriyama
> SPAWAR Sys Ctr San Diego D424, CINCPACFLT N671KK
> kuriyakk@cpf.navy.mil, 808-471-4125

Mine looks like the following:

A box with heavy traffic : FreeBSD 3.4-RELEASE
Average traffic exceeds 4GB per day.

# netstat -m
867/1120 mbufs in use:
        800 mbufs allocated to data
        67 mbufs allocated to packet headers
463/656/1024 mbuf clusters in use (current/peak/max)
1452 Kbytes allocated to network (71% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
# uptime
 9:28AM  up 206 days, 19:30, 1 user, load averages: 0.00, 0.00, 0.00



And a box with very light traffic : FreeBSD 4.1-20000828-STABLE
Average traffic less than 20MB per day.

$ netstat -m
207/448/4096 mbufs in use (current/peak/max):
        157 mbufs allocated to data
        50 mbufs allocated to packet headers
117/254/1024 mbuf clusters in use (current/peak/max)
620 Kbytes allocated to network (46% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
$ uptime
 9:21AM  up 17 days, 17:09, 4 users, load averages: 2.02, 0.97, 0.50


The worrying thing is that the box with light traffic has had to be
rebooted because it stopped talking on the network. This happens
expecially quickly if I am using NFS a lot.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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