users
[Top] [All Lists]

Re: [cinjug-users] Java process hangs

To: Creighton Kirkendall <ckirkendall@xxxxxxxxxxxxxx>
Subject: Re: [cinjug-users] Java process hangs
From: "Jason Kretzer/STAR BASE Consulting Inc." <JKretzer@xxxxxxxxxxxxxxx>
Date: Wed, 14 Apr 2004 10:35:39 -0400
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
In-reply-to: <1081947704.2639.163.camel@tim.collegeview.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm

So which are you using to make it fire every 5 minutes? The timer or the cron?

I do not mean to insult your intelligence but even the best of us make this type of mistake so I must ask this.  Did you remember to use System.exit() when if finishes?

I know I have done this more than once. Sorry if it is too simplistic.

-Jason




Creighton Kirkendall <ckirkendall@xxxxxxxxxxxxxx>

04/14/2004 09:01 AM

To
users@xxxxxxxxxx
cc
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>