Re: Linux IBM JDK + Tomcat + SMP hangs
hi Edward, I've been having similar problems doing load testing with standalone Tomcat 3.2.1 with the 2.2.16 kernal with glibc2.1.3-15. I downloaded the most recent build of IBM's VM, cx130-20010207 and have been having much better results as far as VM stability is concerned. I ran my test on a uniprocessor kernal and got great results. Changing to the SMP kernel, the VM's still stable, but I'm getting a lot of NullPointerExceptions. I'm looking into that now, I think it could be a Tomcat problem though. bill --- Chong Yu Meng [EMAIL PROTECTED] wrote: Hello Edward : I believe your glibc version is causing the problems you are seeing. I never had any luck with glibc2.2 on my Caldera OpenLinux eDesktop 2.4 box. On the IBM Java on Linux newsgroup, someone claims to be successful using the i386 version of glibc instead of i686, and I seem to remember someone on the same newsgroup saying that Red Hat has issued a fix for it. Hope this helps. For myself, I am still using glibc-2.1.3. Regards, Pascal Chong - Original Message - From: "Edward MacGillivray" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 23, 2001 8:35 AM Subject: Re: Linux IBM JDK + Tomcat + SMP hangs On Sun, 7 Jan 2001 22:42:18 -0500 "brien" [EMAIL PROTECTED] wrote: Hi, I've been having a really tough time to say the least trying to get the IBM JDK 1.3 to work on an SMP machine under linux. I don't think my problem is unique. The JDK hangs, consuming 99% of the CPU. From what I can tell, this problem is specific to the IBM JDK 1.3 on SMP machines. I've read just about every message on the ibm linux java newsgroup, and the typical solution offered is always to install glibc 2.1.3-21. Without doing this I had instant hangs as soon as I ran tomcat. After updating glibc, the hangs take a little while to occur, but they are still present and persistent. Unfortunately, I'm also bound to using DB2 on the database side, and IBM tech support has stated that they do not support sun's jdk. If anyone can help me out I'd greatly appreciate it. my environment is: dual p3/866 + 512mb (dell poweredge 2450) redhat linux 6.2 kernel 2.2.16 SMP glibc-2.1.3-21 apache tomcat 3.2.1 (also tried 3.1.1) IBM JDK: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001124 (JIT enabled: jitc)) brien Has anyone else had this problem? because it appears as though I am having it too. I have search my archive of Tomcat-User posts and the web for information on Tomcat hanging under linux SMP. I found the above post but no replies to it. I have successfully installed the webapp I have to three different single processor computers but the one I want it on is multi proc and does not want to work. I have been working with Tomcat 3.1 on all of the single proc boxes and initially used 3.1 on the multi proc. The application was able to function just as it had on the other boxes but within a few minutes the application had hung and was not responding to jsp or servlet requests. When the application got to this state though the Tomcat program was unable to stop itself, so I had to start killing processes. I then figured that possibly it was 3.1 that had a problem, so I went and got Tomcat 3.2.1. However, this was pretty much a step backward, because with 3.2.1 the webapp is never able to work. What's worse is that running the Tomcat shutdown script, even immediately after running the startup script, Tomcat is unable to stop itself. I can't say that I have much experience with Tomcat 3.2.1, however the mod_jk.log file indicates that it is finding a worker and the web browser accessing the webapp spins until apache times out. I am confident that Apache is configured properly. The box's environ is 3 * p-pro/200 + 256Mb Redhat Linux 6.2, kernel 2.2.14smp Apache 1.2.19 Tomcat 3.2.1 using mod_jk (also happens with 3.1 using mod_jserv) glibc 2.2.2 thanks mac __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Re: Linux IBM JDK + Tomcat + SMP hangs
On Sun, 7 Jan 2001 22:42:18 -0500 "brien" [EMAIL PROTECTED] wrote: Hi, I've been having a really tough time to say the least trying to get the IBM JDK 1.3 to work on an SMP machine under linux. I don't think my problem is unique. The JDK hangs, consuming 99% of the CPU. From what I can tell, this problem is specific to the IBM JDK 1.3 on SMP machines. I've read just about every message on the ibm linux java newsgroup, and the typical solution offered is always to install glibc 2.1.3-21. Without doing this I had instant hangs as soon as I ran tomcat. After updating glibc, the hangs take a little while to occur, but they are still present and persistent. Unfortunately, I'm also bound to using DB2 on the database side, and IBM tech support has stated that they do not support sun's jdk. If anyone can help me out I'd greatly appreciate it. my environment is: dual p3/866 + 512mb (dell poweredge 2450) redhat linux 6.2 kernel 2.2.16 SMP glibc-2.1.3-21 apache tomcat 3.2.1 (also tried 3.1.1) IBM JDK: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001124 (JIT enabled: jitc)) brien Has anyone else had this problem? because it appears as though I am having it too. I have search my archive of Tomcat-User posts and the web for information on Tomcat hanging under linux SMP. I found the above post but no replies to it. I have successfully installed the webapp I have to three different single processor computers but the one I want it on is multi proc and does not want to work. I have been working with Tomcat 3.1 on all of the single proc boxes and initially used 3.1 on the multi proc. The application was able to function just as it had on the other boxes but within a few minutes the application had hung and was not responding to jsp or servlet requests. When the application got to this state though the Tomcat program was unable to stop itself, so I had to start killing processes. I then figured that possibly it was 3.1 that had a problem, so I went and got Tomcat 3.2.1. However, this was pretty much a step backward, because with 3.2.1 the webapp is never able to work. What's worse is that running the Tomcat shutdown script, even immediately after running the startup script, Tomcat is unable to stop itself. I can't say that I have much experience with Tomcat 3.2.1, however the mod_jk.log file indicates that it is finding a worker and the web browser accessing the webapp spins until apache times out. I am confident that Apache is configured properly. The box's environ is 3 * p-pro/200 + 256Mb Redhat Linux 6.2, kernel 2.2.14smp Apache 1.2.19 Tomcat 3.2.1 using mod_jk (also happens with 3.1 using mod_jserv) glibc 2.2.2 thanks mac
Re: Linux IBM JDK + Tomcat + SMP hangs
It sounds like there's SMP bugs fixed in jdk1.3.1beta. Heard that on cocoon-dev in this thread: http://marc.theaimsgroup.com/?t=9850303674w=2r=1 " .. linux 2.2.17 vm jdk1.3.1beta (workaround for nasty linux SMP bug in SunVM causing segv) .. " - Allan Erskine. HTH, --Jeff On Thu, Mar 22, 2001 at 06:35:13PM -0600, Edward MacGillivray wrote: On Sun, 7 Jan 2001 22:42:18 -0500 "brien" [EMAIL PROTECTED] wrote: Hi, I've been having a really tough time to say the least trying to get the IBM JDK 1.3 to work on an SMP machine under linux. I don't think my problem is unique. The JDK hangs, consuming 99% of the CPU. From what I can tell, this problem is specific to the IBM JDK 1.3 on SMP machines. I've read just about every message on the ibm linux java newsgroup, and the typical solution offered is always to install glibc 2.1.3-21. Without doing this I had instant hangs as soon as I ran tomcat. After updating glibc, the hangs take a little while to occur, but they are still present and persistent. Unfortunately, I'm also bound to using DB2 on the database side, and IBM tech support has stated that they do not support sun's jdk. If anyone can help me out I'd greatly appreciate it. my environment is: dual p3/866 + 512mb (dell poweredge 2450) redhat linux 6.2 kernel 2.2.16 SMP glibc-2.1.3-21 apache tomcat 3.2.1 (also tried 3.1.1) IBM JDK: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001124 (JIT enabled: jitc)) brien Has anyone else had this problem? because it appears as though I am having it too. I have search my archive of Tomcat-User posts and the web for information on Tomcat hanging under linux SMP. I found the above post but no replies to it. I have successfully installed the webapp I have to three different single processor computers but the one I want it on is multi proc and does not want to work. I have been working with Tomcat 3.1 on all of the single proc boxes and initially used 3.1 on the multi proc. The application was able to function just as it had on the other boxes but within a few minutes the application had hung and was not responding to jsp or servlet requests. When the application got to this state though the Tomcat program was unable to stop itself, so I had to start killing processes. I then figured that possibly it was 3.1 that had a problem, so I went and got Tomcat 3.2.1. However, this was pretty much a step backward, because with 3.2.1 the webapp is never able to work. What's worse is that running the Tomcat shutdown script, even immediately after running the startup script, Tomcat is unable to stop itself. I can't say that I have much experience with Tomcat 3.2.1, however the mod_jk.log file indicates that it is finding a worker and the web browser accessing the webapp spins until apache times out. I am confident that Apache is configured properly. The box's environ is 3 * p-pro/200 + 256Mb Redhat Linux 6.2, kernel 2.2.14smp Apache 1.2.19 Tomcat 3.2.1 using mod_jk (also happens with 3.1 using mod_jserv) glibc 2.2.2 thanks mac
Re: Linux IBM JDK + Tomcat + SMP hangs
Hello Edward : I believe your glibc version is causing the problems you are seeing. I never had any luck with glibc2.2 on my Caldera OpenLinux eDesktop 2.4 box. On the IBM Java on Linux newsgroup, someone claims to be successful using the i386 version of glibc instead of i686, and I seem to remember someone on the same newsgroup saying that Red Hat has issued a fix for it. Hope this helps. For myself, I am still using glibc-2.1.3. Regards, Pascal Chong - Original Message - From: "Edward MacGillivray" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 23, 2001 8:35 AM Subject: Re: Linux IBM JDK + Tomcat + SMP hangs On Sun, 7 Jan 2001 22:42:18 -0500 "brien" [EMAIL PROTECTED] wrote: Hi, I've been having a really tough time to say the least trying to get the IBM JDK 1.3 to work on an SMP machine under linux. I don't think my problem is unique. The JDK hangs, consuming 99% of the CPU. From what I can tell, this problem is specific to the IBM JDK 1.3 on SMP machines. I've read just about every message on the ibm linux java newsgroup, and the typical solution offered is always to install glibc 2.1.3-21. Without doing this I had instant hangs as soon as I ran tomcat. After updating glibc, the hangs take a little while to occur, but they are still present and persistent. Unfortunately, I'm also bound to using DB2 on the database side, and IBM tech support has stated that they do not support sun's jdk. If anyone can help me out I'd greatly appreciate it. my environment is: dual p3/866 + 512mb (dell poweredge 2450) redhat linux 6.2 kernel 2.2.16 SMP glibc-2.1.3-21 apache tomcat 3.2.1 (also tried 3.1.1) IBM JDK: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001124 (JIT enabled: jitc)) brien Has anyone else had this problem? because it appears as though I am having it too. I have search my archive of Tomcat-User posts and the web for information on Tomcat hanging under linux SMP. I found the above post but no replies to it. I have successfully installed the webapp I have to three different single processor computers but the one I want it on is multi proc and does not want to work. I have been working with Tomcat 3.1 on all of the single proc boxes and initially used 3.1 on the multi proc. The application was able to function just as it had on the other boxes but within a few minutes the application had hung and was not responding to jsp or servlet requests. When the application got to this state though the Tomcat program was unable to stop itself, so I had to start killing processes. I then figured that possibly it was 3.1 that had a problem, so I went and got Tomcat 3.2.1. However, this was pretty much a step backward, because with 3.2.1 the webapp is never able to work. What's worse is that running the Tomcat shutdown script, even immediately after running the startup script, Tomcat is unable to stop itself. I can't say that I have much experience with Tomcat 3.2.1, however the mod_jk.log file indicates that it is finding a worker and the web browser accessing the webapp spins until apache times out. I am confident that Apache is configured properly. The box's environ is 3 * p-pro/200 + 256Mb Redhat Linux 6.2, kernel 2.2.14smp Apache 1.2.19 Tomcat 3.2.1 using mod_jk (also happens with 3.1 using mod_jserv) glibc 2.2.2 thanks mac
Linux IBM JDK + Tomcat + SMP hangs
Hi, I've been having a really tough time to say the least trying to get the IBM JDK 1.3 to work on an SMP machine under linux. I don't think my problem is unique. The JDK hangs, consuming 99% of the CPU. From what I can tell, this problem is specific to the IBM JDK 1.3 on SMP machines. I've read just about every message on the ibm linux java newsgroup, and the typical solution offered is always to install glibc 2.1.3-21. Without doing this I had instant hangs as soon as I ran tomcat. After updating glibc, the hangs take a little while to occur, but they are still present and persistent. Unfortunately, I'm also bound to using DB2 on the database side, and IBM tech support has stated that they do not support sun's jdk. If anyone can help me out I'd greatly appreciate it. my environment is: dual p3/866 + 512mb (dell poweredge 2450) redhat linux 6.2 kernel 2.2.16 SMP glibc-2.1.3-21 apache tomcat 3.2.1 (also tried 3.1.1) IBM JDK: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001124 (JIT enabled: jitc)) brien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]