From owner-freebsd-hackers Fri Jul 23 17:17:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 65E851576B for ; Fri, 23 Jul 1999 17:17:27 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id RAA30153; Fri, 23 Jul 1999 17:14:55 -0700 (PDT) (envelope-from dillon) Date: Fri, 23 Jul 1999 17:14:55 -0700 (PDT) From: Matthew Dillon Message-Id: <199907240014.RAA30153@apollo.backplane.com> To: "David E. Cross" Cc: David Malone , Doug , "David E. Cross" , freebsd-hackers@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: mbuf leakage in NFSv3 writes, possbile? References: <199907231747.NAA94297@cs.rpi.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 :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