public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4107] New: TestRunner is leaking file descriptors
@ 2007-02-27 22:13 mcvet at redhat dot com
2007-02-27 22:26 ` [Bug general/4107] " rmoseley at redhat dot com
2007-02-28 14:13 ` rmoseley at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: mcvet at redhat dot com @ 2007-02-27 22:13 UTC (permalink / raw)
To: frysk-bugzilla
$ ./TestRunner -r 100 frysk.rt.TestStepping
Running testASMStepping(frysk.rt.TestStepping) ...
execvp: Too many open files
ERROR
java.lang.NullPointerException
When cntl-Z'ing TestRunner during its execution, and taking a look through the
output of lsof, there are thousands of open files belonging to TestRunner which
hasn't properly quit after the test failure.
--
Summary: TestRunner is leaking file descriptors
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: mcvet at redhat dot com
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug general/4107] TestRunner is leaking file descriptors
2007-02-27 22:13 [Bug general/4107] New: TestRunner is leaking file descriptors mcvet at redhat dot com
@ 2007-02-27 22:26 ` rmoseley at redhat dot com
2007-02-28 14:13 ` rmoseley at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: rmoseley at redhat dot com @ 2007-02-27 22:26 UTC (permalink / raw)
To: frysk-bugzilla
------- 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug general/4107] TestRunner is leaking file descriptors
2007-02-27 22:13 [Bug general/4107] New: TestRunner is leaking file descriptors mcvet at redhat dot com
2007-02-27 22:26 ` [Bug general/4107] " rmoseley at redhat dot com
@ 2007-02-28 14:13 ` rmoseley at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: rmoseley at redhat dot com @ 2007-02-28 14:13 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From rmoseley at redhat dot com 2007-02-28 14:13 -------
In the previous comment I meant to say "*totally different PID" instead of
"*totally PID". That is, the TestRunner PID had changed from its original PID
when it was running funit-rt-asmstepper. But, the new TestRunner inherited the
fd's of the original TestRunner.
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-28 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-27 22:13 [Bug general/4107] New: TestRunner is leaking file descriptors mcvet at redhat dot com
2007-02-27 22:26 ` [Bug general/4107] " rmoseley at redhat dot com
2007-02-28 14:13 ` rmoseley at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).