Creighton,
If the programs interacts with a database, make sure that there is not a
deadlock condition. Many times a query will be executed and it just waits on
the database. Some databases are better than others at handling these
conditions.
Robert Casto
President - CinciJava LLC
Phone: 513-755-2221
FAX: 831-307-7638
robert@xxxxxxxxxxxxx
-----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
|