Subject: bin/9149: lfs_cleanerd appears to have a memory leak
To: None <gnats-bugs@gnats.netbsd.org>
From: Havard Eidnes <he@runit.no>
List: netbsd-bugs
Date: 01/08/2000 15:36:36
>Number:         9149
>Category:       bin
>Synopsis:       lfs_cleanerd appears to have a memory leak
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan  8 15:36:01 2000
>Last-Modified:
>Originator:     Havard Eidnes
>Organization:
	RUNIT AS
>Release:        NetBSD 1.4.2_ALPHA
>Environment:
	NetBSD albatross.runit.sintef.no 1.4.2_ALPHA NetBSD 1.4.2_ALPHA (ALBATROSS) #18: Wed Jan  5 18:49:22 MET 2000     he@albatross.runit.sintef.no:/usr/src/sys/arch/alpha/compile/ALBATROSS alpha
System:
	as above

>Description:
	There appears to be a memory leak in lfs_cleanerd.
	After some stress-testing of LFS (over the course of a couple
	of days), the process has grown considerable:

USER   PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND
root   278  5.0 26.6 130832 69008 ??  S    Wed07PM   77:20.72 lfs_cleanerd

	The file system in question is approx. 6GB in size.

	
>How-To-Repeat:
	Run "bonnie -s 2000" in a loop over, and leave it running for
	two days straight.  (I've also added a loop which extracts and
	removes the NetBSD-1.4.1 source tar files, and so far at least
	the stability hasn't been anything to complain about.)


>Fix:
	Don't know.  Find and remove memory leak. :-)	
>Audit-Trail:
>Unformatted: