Re: Help on JVM hang

Joseph Shraibman <[email protected]> Thu, 24 Jun 2004 14:55:37 -0400
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
Hui Huang wrote:
> Veda N Ponnusamy wrote:
> 
>> Hi,
>>    We set the LD_ASSUME_KERNEL=2.2.5 and the hang goes away. But the 
>> application
> 
>  is running at 60% speed !!
> 
> Interesting. You could try LD_ASSUME_KERNEL=2.4.1 (the floating
> stack version of LinuxThreads), it's generally faster than 2.2.5.
> 
>  Do you know any patches anywhere for this problem ???
> 
> Unfortunately, no, Redhat did not release the patch. RH9 is the
> only platform we've seen this problem. We didn't stress test
> Fedora Core, but AS-3 works Ok.
> 

So you do have code that can reproduce this problem?  It would help a 
lot if I could get it.
> thanks,
> -hui
> 
> P.S. Next time when you see the hang, please try the gdb trick
> to id the bug. If the process still hangs after attach-detach
> with gdb, it's something else.

Would strace -p <pid> work as well?

From: http://bugs.mysql.com/bug.php?id=868

One interesting side note is that if you strace the right process, the 
system
will recover.  However, we have still had database corruption when we 
did this.



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]