NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/44625: memory exhaustion on NFS server while writing many files
The following reply was made to PR kern/44625; it has been noted by GNATS.
From: hash%abox3.so-net.ne.jp@localhost
To: Mindaugas Rasiukevicius <rmind%netbsd.org@localhost>,
dholland%netbsd.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/44625: memory exhaustion on NFS server while writing many
files
Date: Thu, 17 Mar 2011 16:19:22 +0900
hi,
On Thu, 17 Mar 2011 05:31:36 +0000
Mindaugas Rasiukevicius <rmind%netbsd.org@localhost> wrote:
> hash%abox3.so-net.ne.jp@localhost wrote:
> > <...>
> > The Npage of pnbufpl grows extremely.
> >
> > I also tried some kernels checked out on other date. It seems that
> > this leakage is seen after struct componentname changes on Nov 30 2010.
>
> http://nxr.netbsd.org/xref/src/sys/nfs/nfs_serv.c?r=1.156#465
>
> A leak in this error path (at least)?
Good catch! I confirm that lookup'ing various nonexistent names
(like below script) on NFS client causes leak.
Thank you.
#!/bin/sh -
i=1
while : ; do
# /usr/nfs/ is empty
cat /usr/nfs/$i > /dev/null 2>&1
i=$((i + 1))
done
--
Takahiro HAYASHI
Home |
Main Index |
Thread Index |
Old Index