NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
You may need to do more work than that (Score:1)
If your sysadmins are being happy with kill -9, then what you may need to do is write a monitoring process which is told what each Java process is doing, and will tell Oracle to clean up after them when they disappear without properly cleaning up.
Another possibility is that the bug is in Oracle. Unlikely I know, but back in the Oracle 8 series I ran across a query that caused an internal Oracle process to try to follow a null pointer, which left the process talking to that in a hung state. (The bug hit with a correlated subquery that sometimes returned no rows. We experienced it as, "This query logs you out!" While playing with it we ran out of connections on the server. This was, of course, a test server.)
In any case, good luck.
Reply to This
Re: (Score:2)
Yeah, that's why I said "catch all signals possible." :)
Part of the issue is actually that I myself and one of our monitoring groups have to kill this every so often, although I definitely don't kill with 9 unless something refuses to go away with something weaker.
I'm not sure a second process could tell Oracle to release these locks, because it wouldn't own them. So I'm not sure the monitoring process idea will work. It might be possible, however, for an audit process to run on the server side and ki
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re: (Score:1)
This does take a lot of work to set up though. I wouldn't go there unless you really have to. But be aware that it is an option.