[phxjug-java] Help Wanted: Squashing JVM on Linux Bug

Huang Haitao-G17843 plug-discuss@lists.plug.phoenix.az.us
Wed, 4 Jun 2003 09:10:54 -0700


What distribution of Linux? 
If it a desktop distribution not server distribution, it could be it runs out of file scriptor limit. check ulimit and /etc/security/limits.conf.
Haitao Huang
Motorola 
-----Original Message-----
From: Steve Jovanovic [mailto:stevej@noumenaut.com]
Sent: Wednesday, June 04, 2003 12:09 AM
To: java@phxjug.org; plug-discuss@lists.plug.phoenix.az.us
Subject: [phxjug-java] Help Wanted: Squashing JVM on Linux Bug


Hi There,
 
Quick note: First, my apologies to the many people whom I owe a reply to. I'm very, very far behind on e-mail and have hundreds of messages in my inbox. :-/
 
Second, are there any Linux experts here who could help us out with a very weird problem? We run the latest JVM on Linux and use Orion 2.0 as our Java app server. If we put any load to speak of on Orion, the JVM terminates and down we go. The Orion log reveals this:
 
The log reveals the following: 

Unexpected Signal : 11 occurred at PC=0x402D7273 
Function=JVM_handle_linux_signal+0x93 
Library=/usr/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so 

Current Java thread: 
at java.net.SocketOutputStream.socketWrite0(Native Method) 
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) 
at java.net.SocketOutputStream.write(SocketOutputStream.java:136) 
at com.evermind._rm.close(.:87) 
at com.evermind._aj._bhd(.:354) 
at com.evermind._ax._lrc(.:658) 
at com.evermind._ax._uab(.:189) 
at com.evermind._bf.run(.:62) 
- locked <0x44260000> (a com.evermind.server.ApplicationServerThread) 

Dynamic libraries: 
08048000-0804e000 r-xp 00000000 68:05 215403 /usr/java/j2sdk1.4.1_01/bin/java 
0804e000-0804f000 rw-p 00005000 68:05 215403 /usr/java/j2sdk1.4.1_01/bin/java 
40000000-40013000 r-xp 00000000 68:05 166195 /lib/ld-2.2.5.so 
40013000-40014000 rw-p 00013000 68:05 166195 /lib/ld-2.2.5.so 
40014000-4001d000 r-xp 00000000 68:05 395754 /usr/java/j2sdk1.4.1_01/jre/lib/i386/native_threads/libhpi.so 
4001d000-4001e000 rw-p 00008000 68:05 395754 /usr/java/j2sdk1.4.1_01/jre/lib/i386/native_threads/libhpi.so 
4001f000-40021000 r--s 00000000 68:07 591535 /home/skribe/orion/jdbc.jar 
40021000-4002e000 r-xp 00000000 68:05 509730 /lib/i686/libpthread-0.9.so 
4002e000-40035000 rw-p 0000d000 68:05 509730 /lib/i686/libpthread-0.9.so 
40036000-40038000 r-xp 00000000 68:05 166532 /lib/libdl-2.2.5.so 
40038000-40039000 rw-p 00001000 68:05 166532 /lib/libdl-2.2.5.so 
40039000-40351000 r-xp 00000000 68:05 149508 /usr/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so 
40351000-40505000 rw-p 00317000 68:05 149508 /usr/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so 
40515000-40527000 r-xp 00000000 68:05 166206 /lib/libnsl-2.2.5.so 
40527000-40528000 rw-p 00012000 68:05 166206 /lib/libnsl-2.2.5.so 
4052a000-4054b000 r-xp 00000000 68:05 509726 /lib/i686/libm-2.2.5.so 
4054b000-4054c000 rw-p 00020000 68:05 509726 /lib/i686/libm-2.2.5.so 
4054c000-4055c000 r-xp 00000000 68:05 149959 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libverify.so 
4055c000-4055e000 rw-p 0000f000 68:05 149959 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libverify.so 
4055e000-4057f000 r-xp 00000000 68:05 149947 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libjava.so 
4057f000-40581000 rw-p 00020000 68:05 149947 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libjava.so 
40581000-40596000 r-xp 00000000 68:05 149960 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libzip.so 
40596000-40598000 rw-p 00014000 68:05 149960 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libzip.so 
40598000-41c66000 r--s 00000000 68:05 510125 /usr/java/j2sdk1.4.1_01/jre/lib/rt.jar 
41ca9000-41cc0000 r--s 00000000 68:05 510126 /usr/java/j2sdk1.4.1_01/jre/lib/sunrsasign.jar 
41cc0000-41d31000 r--s 00000000 68:05 510119 /usr/java/j2sdk1.4.1_01/jre/lib/jsse.jar 
41d31000-41d44000 r--s 00000000 68:05 510118 /usr/java/j2sdk1.4.1_01/jre/lib/jce.jar 
41d44000-42000000 r--s 00000000 68:05 510106 /usr/java/j2sdk1.4.1_01/jre/lib/charsets.jar 
42000000-4212c000 r-xp 00000000 68:05 509724 /lib/i686/libc-2.2.5.so 
4212c000-42131000 rw-p 0012c000 68:05 509724 /lib/i686/libc-2.2.5.so 
441dd000-441df000 r-xp 00000000 68:05 344220 /usr/lib/sasl/libanonymous.so.1.0.15 
441df000-441e0000 rw-p 00001000 68:05 344220 /usr/lib/sasl/libanonymous.so.1.0.15 
4c3e3000-4c3e9000 r--s 00000000 68:05 393453 /usr/lib/gconv/gconv-modules.cache 
4c3e9000-4c3ec000 r-xp 00000000 68:05 344240 /usr/lib/sasl/libcrammd5.so.1.0.15 
4c3ec000-4c3ed000 rw-p 00002000 68:05 344240 /usr/lib/sasl/libcrammd5.so.1.0.15 
4c3ed000-4c3f4000 r-xp 00000000 68:05 344243 /usr/lib/sasl/libdigestmd5.so.0.0.17 
4c3f4000-4c3f5000 rw-p 00006000 68:05 344243 /usr/lib/sasl/libdigestmd5.so.0.0.17 
4c3f5000-4c3f6000 r--s 00000000 68:07 591537 /home/skribe/orion/jnet.jar 
4c3f6000-4c3ff000 r-xp 00000000 68:05 166209 /lib/libnss_files-2.2.5.so 
4c3ff000-4c400000 rw-p 00009000 68:05 166209 /lib/libnss_files-2.2.5.so 
4c500000-4c52b000 r--p 00000000 68:05 504 /usr/lib/locale/en_US.iso885915/LC_CTYPE 
4c52b000-4c535000 r-xp 00000000 68:05 163937 /lib/libnss_nisplus-2.2.5.so 
4c535000-4c536000 rw-p 00009000 68:05 163937 /lib/libnss_nisplus-2.2.5.so 
4c536000-4c669000 r-xp 00000000 68:05 166080 /lib/libnss_ldap-2.2.5.so 
4c669000-4c676000 rw-p 00133000 68:05 166080 /lib/libnss_ldap-2.2.5.so 
4c683000-4c691000 r-xp 00000000 68:05 166214 /lib/libresolv-2.2.5.so 
4c691000-4c692000 rw-p 0000e000 68:05 166214 /lib/libresolv-2.2.5.so 
4c694000-4c696000 r-xp 00000000 68:05 344246 /usr/lib/sasl/liblogin.so.0.0.5 
4c696000-4c697000 rw-p 00001000 68:05 344246 /usr/lib/sasl/liblogin.so.0.0.5 
4c697000-4c69e000 r-xp 00000000 68:05 166449 /lib/libpam.so.0.75 
4c69e000-4c69f000 rw-p 00006000 68:05 166449 /lib/libpam.so.0.75 
4c69f000-4c6a1000 r--s 00000000 68:07 591534 /home/skribe/orion/jcert.jar 
4c6a1000-4c756000 r-xp 00000000 68:05 166916 /lib/libcrypto.so.0.9.6b 
4c756000-4c762000 rw-p 000b4000 68:05 166916 /lib/libcrypto.so.0.9.6b 
4c765000-4c767000 r-xp 00000000 68:05 344249 /usr/lib/sasl/libplain.so.1.0.14 
4c767000-4c768000 rw-p 00001000 68:05 344249 /usr/lib/sasl/libplain.so.1.0.14 
4c768000-4c76b000 r-xp 00000000 68:05 163926 /lib/libnss_dns-2.2.5.so 
4c76b000-4c76c000 rw-p 00002000 68:05 163926 /lib/libnss_dns-2.2.5.so 
4c76c000-4c76f000 r--s 00000000 68:05 753 /usr/java/j2sdk1.4.1_01/jre/lib/ext/dnsns.jar 
4c76f000-4c772000 r--s 00000000 68:07 591539 /home/skribe/orion/jta.jar 
4c772000-4c777000 r-xp 00000000 68:05 166530 /lib/libcrypt-2.2.5.so 
4c777000-4c778000 rw-p 00004000 68:05 166530 /lib/libcrypt-2.2.5.so 
4cc6e000-4cd0d000 r--s 00000000 68:05 755 /usr/java/j2sdk1.4.1_01/jre/lib/ext/localedata.jar 
4cd0d000-4cd1b000 r--s 00000000 68:05 754 /usr/java/j2sdk1.4.1_01/jre/lib/ext/ldapsec.jar 
4cd1b000-4cd38000 r--s 00000000 68:05 756 /usr/java/j2sdk1.4.1_01/jre/lib/ext/sunjce_provider.jar 
4cd38000-4d003000 r--s 00000000 68:07 591542 /home/skribe/orion/orion.jar 
4d084000-4d088000 r--s 00000000 68:07 591523 /home/skribe/orion/ejb.jar 
4d088000-4d0a1000 r--s 00000000 68:07 591536 /home/skribe/orion/jndi.jar 
4d0a1000-4d0a8000 r--s 00000000 68:07 591532 /home/skribe/orion/jaxp.jar 
4d0a8000-4d0d6000 r--s 00000000 68:07 591520 /home/skribe/orion/crimson.jar 
4d0d6000-4d199000 r--s 00000000 68:07 591552 /home/skribe/orion/xalan.jar 
4d199000-4d64c000 r--s 00000000 68:07 592097 /home/skribe/orion/tools.jar 
4d64c000-4d6be000 r--s 00000000 68:07 591538 /home/skribe/orion/jsse.jar 
4d6be000-4d6ca000 r--s 00000000 68:07 591494 /home/skribe/orion/activation.jar 
4d6ca000-4d70f000 r--s 00000000 68:07 591541 /home/skribe/orion/mail.jar 
4d70f000-4d729000 r--s 00000000 68:07 591528 /home/skribe/orion/jaas.jar 
4d729000-4d739000 r-xp 00000000 68:05 149956 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libnet.so 
4d739000-4d73b000 rw-p 0000f000 68:05 149956 /usr/java/j2sdk1.4.1_01/jre/lib/i386/libnet.so 

Local Time = Fri May 30 10:24:26 2003 
Elapsed Time = 1026 
# 
# HotSpot Virtual Machine Error : 11 
# Error ID : 4F530E43505002E6 
# Please report this error at 
# http://java.sun.com/cgi-bin/bugreport.cgi 
# 
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) 
#
 
We would be incredibly grateful if someone who is talented at debugging issues like this could help us out!
 
Thanks very much!
 
Steve
 

 
Steve Jovanovic
Director of Engineering
Noumenaut Software
(262) 632-7755