users
[Top] [All Lists]

RE: [cinjug-users] Java process hangs

To: "'Creighton Kirkendall'" <ckirkendall@xxxxxxxxxxxxxx>, <users@xxxxxxxxxx>
Subject: RE: [cinjug-users] Java process hangs
From: "James Carman" <james@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Apr 2004 08:59:55 -0400
Delivered-to: mailing list users@cinjug.org
Importance: Normal
In-reply-to: <1081947704.2639.163.camel@tim.collegeview.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Organization: Carman Consulting, Inc.
Can you give us a better idea of WHAT the program is doing?  Can you
reproduce this with a "hello world" java app and cron?

-----Original Message-----
From: Creighton Kirkendall [mailto:ckirkendall@xxxxxxxxxxxxxx] 
Sent: Wednesday, April 14, 2004 9:02 AM
To: users@xxxxxxxxxx
Subject: [cinjug-users] Java process hangs

I have a problem.  I have a simple java process that runs as a cron
every 5 minutes.  About once every 2 hours give or take the process
hangs and appears to be in deadlock.  I cannot figure out why.  I have
tried to access a stack dump by doing a "kill -3 <pid>" but all I get to
stderr is:

JVMDG217: Dump Handler is Processing a Signal - Please Wait.

But no dump ever appears.  The process is simple but it does use the
java.util.Timer.  Why can't I get a stack trace?  I have looked at the
state   using "ps aux" and it suggests it is still fine.  Since I can
not get a stack trace from the JVM.  I tried an strace -p <pid> and it
looks like it is waiting.

Here is the dump from strace.
 futex(0xb4226780, FUTEX_WAIT, 126, NULL

Here is the stats on the machine.
IBMJDK 1.4.1-02
LINUX RHAT ENTERPRISE

Any help would be very appreciated. 

Creighton Kirkendall 



---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx





<Prev in Thread] Current Thread [Next in Thread>