Re: Aw: tomcat hangs
Peter, On 9/9/21 08:21, Peter Rader wrote: I might noticed a simmilar issue: I ran the JVM in a linux OS on a VM (in virtualbox btw). The jdk for some reason request a random number. The JDK asks the LinuxOS for a new random number (maybe in the hope to use a hardware-based TRNG). Since this linux in virtualbox is not-so low-level the random number is generated due to RAM squarenumbers, because no memory is changed - no new random number has been generated and we get a OS-based softlock. WHAT? -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Aw: tomcat hangs
I might noticed a simmilar issue: I ran the JVM in a linux OS on a VM (in virtualbox btw). The jdk for some reason request a random number. The JDK asks the LinuxOS for a new random number (maybe in the hope to use a hardware-based TRNG). Since this linux in virtualbox is not-so low-level the random number is generated due to RAM squarenumbers, because no memory is changed - no new random number has been generated and we get a OS-based softlock. Regards > HiI use apache tomcat 8.0.32 and oracle-jdk-8u66 and redhat 6.After working > with the system for a few hours > and the load on the system increases, suddenly the tomcat hangs and no logs > are printed and it is not possible > to connect via jvisualvm and I can not get any dump and I have to reload > Tomcat.I have increased maxthreads > and use the HttpProtocol protocol.Please suggest a way to fix the my tomact. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: tomcat hangs
Just some hints or ideas: - Is it a busy hang? CPU load high? - Can you use jstack at console to get a stack trace? - Does it also happen with current version of tomcat 8.0.52? - Does is alto happen with a current version of JDK? -Ursprüngliche Nachricht- Von: Mehrdad Taagholi Gesendet: Donnerstag, 9. September 2021 12:51 An: users@tomcat.apache.org Betreff: tomcat hangs HiI use apache tomcat 8.0.32 and oracle-jdk-8u66 and redhat 6.After working with the system for a few hours and the load on the system increases, suddenly the tomcat hangs and no logs are printed and it is not possible to connect via jvisualvm and I can not get any dump and I have to reload Tomcat.I have increased maxthreads and use the HttpProtocol protocol.Please suggest a way to fix the my tomact.
AW: Tomcat hangs
Hi Philipp, try the following: Increase maxThreads in server.xml. A good value to start with is maxProcessors=100. Set connectionTimeout to a minute - connectionTimeout=6. Restart Tomcat. Hope this will help. Mit freundlichem Gruß / kind regards Dr. Aliye Edao -Ursprüngliche Nachricht- Von: Philipp Lehner [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. November 2006 07:44 An: users@tomcat.apache.org Betreff: Tomcat hangs Hello, Since a few days Tomcat hangs on our production server every 20 - 24 hours. In the stderr.log I'm getting the following entry: 15.11.2006 00:54:08 org.apache.tomcat.util.threads.ThreadPool logFull SCHWERWIEGEND: All threads (75) are currently busy, waiting. Increase maxThreads (75) or check the servlet status 15.11.2006 01:05:13 org.apache.jk.server.JkCoyoteHandler action SCHWERWIEGEND: Error in action code java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654) at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:472) at org.apache.coyote.Response.action(Response.java:226) at org.apache.coyote.Response.finish(Response.java:348) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:329) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) I'm using the following configuration: Windows 2003 Server Tomcat 4.1 Can anyone help me please? Best Regards, Philipp ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Tomcat hangs
Hello, Thank you fro your reply but it doesn't work. I got the same message like one day before, only the value changed: 16.11.2006 00:10:03 org.apache.tomcat.util.threads.ThreadPool logFull SCHWERWIEGEND: All threads (100) are currently busy, waiting. Increase maxThreads (100) or check the servlet status Does anyone has another suggestion how i can fix my problem? kind regards Philipp - Ursprüngliche Mail Von: Edao, Aliye [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org CC: [EMAIL PROTECTED] Gesendet: Mittwoch, den 15. November 2006, 09:54:28 Uhr Betreff: AW: Tomcat hangs Hi Philipp, try the following: Increase maxThreads in server.xml. A good value to start with is maxProcessors=100. Set connectionTimeout to a minute - connectionTimeout=6. Restart Tomcat. Hope this will help. Mit freundlichem Gruß / kind regards Dr. Aliye Edao -Ursprüngliche Nachricht- Von: Philipp Lehner [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. November 2006 07:44 An: users@tomcat.apache.org Betreff: Tomcat hangs Hello, Since a few days Tomcat hangs on our production server every 20 - 24 hours. In the stderr.log I'm getting the following entry: 15.11.2006 00:54:08 org.apache.tomcat.util.threads.ThreadPool logFull SCHWERWIEGEND: All threads (75) are currently busy, waiting. Increase maxThreads (75) or check the servlet status 15.11.2006 01:05:13 org.apache.jk.server.JkCoyoteHandler action SCHWERWIEGEND: Error in action code java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654) at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:472) at org.apache.coyote.Response.action(Response.java:226) at org.apache.coyote.Response.finish(Response.java:348) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:329) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) I'm using the following configuration: Windows 2003 Server Tomcat 4.1 Can anyone help me please? Best Regards, Philipp ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
RE: AW: Tomcat hangs
From: Philipp Lehner [mailto:[EMAIL PROTECTED] Subject: AW: AW: Tomcat hangs Thank you fro your reply but it doesn't work. I got the same message like one day before, only the value changed: The advice to raise your thread limit was pretty much guaranteed to just postpone the inevitable. You need to take a thread dump and find out where and why your app's threads are hanging up. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AW: Tomcat hangs
From: Philipp Lehner [mailto:[EMAIL PROTECTED] Subject: AW: AW: Tomcat hangs How can I start such a thread dump. The Tomcat is running on an Windows 2003 Server as a Service? For the duration of the investigation, you probably need to run it from the command line. Once you have the problem fixed, you can go back to running it as a service. If you installed Tomcat from the .exe, the startup and shutdown scripts will not be in the bin directory; you'll need to get them from the .zip download instead. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Tomcat hangs
..3b0fd90] at java.lang.Thread.sleep(Native Method) at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:810) at org.apache.catalina.session.StandardManager.run(StandardManager.java:869) at java.lang.Thread.run(Unknown Source) Signal Dispatcher daemon prio=10 tid=0x00890768 nid=0x834 runnable [0..0] Finalizer daemon prio=9 tid=0x0088dd48 nid=0x65c in Object.wait() [2f0f000..2f0fd90] at java.lang.Object.wait(Native Method) - waiting on 0x12770138 (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(Unknown Source) - locked 0x12770138 (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(Unknown Source) at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) Reference Handler daemon prio=10 tid=0x0088c9c0 nid=0x654 in Object.wait() [2e0f000..2e0fd90] at java.lang.Object.wait(Native Method) - waiting on 0x127701a0 (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Unknown Source) at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source) - locked 0x127701a0 (a java.lang.ref.Reference$Lock) main prio=5 tid=0x003e51e8 nid=0x3b0 runnable [0..61fc4c] VM Thread prio=5 tid=0x008cf368 nid=0x394 runnable VM Periodic Task Thread prio=10 tid=0x008e9810 nid=0xffc waiting on condition Suspend Checker Thread prio=10 tid=0x0088fcc8 nid=0x6a4 runnable - Ursprüngliche Mail Von: Caldarale, Charles R [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Gesendet: Donnerstag, den 16. November 2006, 07:28:58 Uhr Betreff: RE: AW: Tomcat hangs From: Philipp Lehner [mailto:[EMAIL PROTECTED] Subject: AW: AW: Tomcat hangs How can I start such a thread dump. The Tomcat is running on an Windows 2003 Server as a Service? For the duration of the investigation, you probably need to run it from the command line. Once you have the problem fixed, you can go back to running it as a service. If you installed Tomcat from the .exe, the startup and shutdown scripts will not be in the bin directory; you'll need to get them from the .zip download instead. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de