Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

process reaper

807603Jan 30 2008 — edited Jan 30 2008
We have our application server running on a solaris box with 16 GB RAM and 4 processors (Hotspot 1.4.2). While debugging OutOfMemory errors on the server, I came across some threads in thread dump. Here is one of them ...

*"process reaper" daemon prio=5 tid=0x00b15478 nid=0x18ba2 runnable [ad5f000..ad5fc30]*
* at java.lang.UNIXProcess.waitForProcessExit(Native Method)*
* at java.lang.UNIXProcess.access$1000(Unknown Source)*
* at java.lang.UNIXProcess$3.run(Unknown Source)*

There are almost 200 such threads in dump. I tried searching for this in Google but didn't find much though I came across some JVM bugs related to Process.waitFor() and related things.

Would highly appreciate if someone can throw some light on this? Need to know what are these threads and what's causing them getting blocked (waitForProcessExit). I have little idea that these threads are created by OS whenever we do a fork() through Runtime.exec().
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2008
Added on Jan 30 2008
1 comment
776 views