I'd say that there is a definite leak somewhere.  The question is where.

    I'll run some buildworld tests w/ the latest current to see if I can
    cause mbufs to leak.  I suspect that the problem may be related to a
    specific situation, though, such as a particular type of FS op failure.
    Unfortunately, I do not have any -stable machines setup at the moment 
    that I can use for NFS testing.

    You could try backing out the nfs_serv.c and related patches from your
    -stable source to see if that fixes this particular problem.  If it does
    then we will know where to look.

                                        -Matt
                                        Matthew Dillon 
                                        <dil...@backplane.com>

:Ok, here are some real stats....
:
:"w" is the read-only machine, it services everything that "s" (the
:read-write machine) does... in fact it services more.
:
:*w crossd $ strings -a /kernel | grep \^___maxusers
:___maxusers     96
:*w crossd $ uname -a
:FreeBSD w.cs.rpi.edu 3.2-STABLE FreeBSD 3.2-STABLE #1: Tue Jun 29 09:36:32 EDT 
1999     r...@w.cs.rpi.edu:/usr/src/sys/compile/WOBBLE  i386
:*w crossd $ uptime
: 1:43PM  up 24 days,  2:08, 3 users, load averages: 0.00, 0.00, 0.00
:*w crossd $ netstat -m
:106/2688 mbufs in use:
:        85 mbufs allocated to data
:        21 mbufs allocated to packet headers
:64/426/2048 mbuf clusters in use (current/peak/max)
:1188 Kbytes allocated to network (11% in use)
:0 requests for memory denied
:0 requests for memory delayed
:0 calls to protocol drain routines
:
:*s crossd $ uname -a
:FreeBSD s.cs.rpi.edu 3.2-STABLE FreeBSD 3.2-STABLE #0: Thu Jul 22 18:12:21 EDT 
1999     r...@phoenix.cs.rpi.edu:/usr/src/sys/compile/STAGGER  i386
:*s crossd $ strings -a /kernel | grep \^___maxusers
:___maxusers     512
:*s crossd $ uptime
: 1:43PM  up 19:23, 2 users, load averages: 0.02, 0.01, 0.00
:*s crossd $ netstat -m
:3629/4096 mbufs in use:
:        3621 mbufs allocated to data
:        8 mbufs allocated to packet headers
:3550/3660/8704 mbuf clusters in use (current/peak/max)
:7832 Kbytes allocated to network (96% in use)
:0 requests for memory denied
:0 requests for memory delayed
:0 calls to protocol drain routines
:
:--
:David Cross                               | email: cro...@cs.rpi.edu 
:Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd 
:Rensselaer Polytechnic Institute,         | Ph: 518.276.2860            
:Department of Computer Science            | Fax: 518.276.4033
:I speak only for myself.                  | WinNT:Linux::Linux:FreeBSD
:



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to