Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 17:14:55 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        "David E. Cross" <crossd@cs.rpi.edu>
Cc:        David Malone <dwmalone@maths.tcd.ie>, Doug <Doug@gorean.org>, "David E. Cross" <crossd@cs.rpi.edu>, freebsd-hackers@FreeBSD.ORG, crossd@cs.rpi.edu
Subject:   Re: mbuf leakage in NFSv3 writes, possbile? 
Message-ID:  <199907240014.RAA30153@apollo.backplane.com>
References:   <199907231747.NAA94297@cs.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
    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 
					<dillon@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     root@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     root@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: crossd@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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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