This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4107] TestRunner is leaking file descriptors


------- Additional Comments From rmoseley at redhat dot com  2007-02-27 22:26 -------
The limit on my FC5/i686 box for the file descriptors for TestRunner is about
1042 and then it aborts.  When I run the command Mike shows I see a couple of
processes running: TestRunner and funit-rt-asmstepper.  Running the "lsof"
command while running those, funit-rt-asmstepper appears to never open any
files.  If I run the "lsof" command on TestRunner I see the file descriptors run
up pretty quickly until the test aborts when it reaches ~1042 fd's.

Now, the weird thing is, when the test aborts, TestRunner remains in the cpu
queue but it now has a *totally* PID.  Doing a "lsof" on that shows about 1042
fd's open.  Looking at /proc/TESTRUNNERPID/fd and doing a list I see lines and
lines of this:

lr-x------ 1 rmoseley rmoseley 64 Feb 27 16:06 110 ->
/home/rmoseley/frysk-cvs3/build/frysk-core/frysk/pkglibdir/funit-rt-asmstepper


It seems nearly all the fd's are pointing to the funit-rt-asmstepper executable.
 Why would the TestRunner be repeatedly opening a fd pointing to the executable?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4107

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]