Subject: Re: Update your sys/vm! (Sigh, vnode_pager_sync debugged.)
To: Charles M. Hannum <mycroft@gnu.ai.mit.edu>
From: Michael Graff <explorer@flame.org>
List: current-users
Date: 02/19/1997 16:17:59
mycroft@gnu.ai.mit.edu (Charles M. Hannum) writes:

> This is most likely a symptom of the `losing memory' problem.  The
> pages are still in core, and are associated with the object, but since
> they're no longer on a paging queue, they're not eligible for being
> garbage collected by the pageout daemon.  Thus the object may never
> lose all its pages, and will stick around, keeping the vnode open.

Would this also cause this problem?  Note that the last "cp" should
have worked.  It only seems to fail with dynamic binaries.

explorer@kechara:/tmp> cp /usr/bin/bc bc2

explorer@kechara:/tmp> chmod 755 bc2

explorer@kechara:/tmp> ./bc2 &
[2] 23770

bc 1.03 (Nov 2, 1994)
Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 

[2]  + Suspended (tty input)         ./bc2

explorer@kechara:/tmp> cp /usr/bin/bc bc2
cp: bc2: Text file busy

explorer@kechara:/tmp> fg %2
./bc2
quit

explorer@kechara:/tmp> cp /usr/bin/bc bc2
cp: bc2: Text file busy

explorer@kechara:/tmp> ps ax | grep bc2
23786 p0  R+     0:00.03 grep bc2