Re: Problem: Tomcat server hang because CPU goes to 100%
Thank you very much Praveen Balaji. Tu On 10/4/06, Praveen Balaji [EMAIL PROTECTED] wrote: Check how Heinz would do it: http://www.javaspecialists.co.za/archive/newsletter.do?issue=132locale= en_US -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 2:56 PM To: Tomcat Users List Subject: Re: Problem: Tomcat server hang because CPU goes to 100% create a thread dump (kill -QUIT pid) and look for the thread that hangs. then fix the bug :-) regards Leon On 10/4/06, Minh Tu Thanh Tran [EMAIL PROTECTED] wrote: Dear friends, When I click on different links or button in my jsp page quickly, normally everythings is ok but sometime the tomcat server hang, it can not response to the requests anymore because the CPU goes to 100% If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would be terrible. Does anyone know any reason that may cause the CPU runs to 100% like this? Seconds, is there any java method that can take care the CPU and he can shut down or start up the tomcat server if needed? Many thanks, Tu - 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: Problem: Tomcat server hang because CPU goes to 100%
Hi Leon Rosenberg, Do you have the sample code like what you show me? I would be much graceful if you could send me some more code on this matter. Thank you very much Tu On 10/4/06, Leon Rosenberg [EMAIL PROTECTED] wrote: create a thread dump (kill -QUIT pid) and look for the thread that hangs. then fix the bug :-) regards Leon On 10/4/06, Minh Tu Thanh Tran [EMAIL PROTECTED] wrote: Dear friends, When I click on different links or button in my jsp page quickly, normally everythings is ok but sometime the tomcat server hang, it can not response to the requests anymore because the CPU goes to 100% If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would be terrible. Does anyone know any reason that may cause the CPU runs to 100% like this? Seconds, is there any java method that can take care the CPU and he can shut down or start up the tomcat server if needed? Many thanks, Tu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem: Tomcat server hang because CPU goes to 100%
Dear friends, When I click on different links or button in my jsp page quickly, normally everythings is ok but sometime the tomcat server hang, it can not response to the requests anymore because the CPU goes to 100% If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would be terrible. Does anyone know any reason that may cause the CPU runs to 100% like this? Seconds, is there any java method that can take care the CPU and he can shut down or start up the tomcat server if needed? Many thanks, Tu
Re: Problem: Tomcat server hang because CPU goes to 100%
create a thread dump (kill -QUIT pid) and look for the thread that hangs. then fix the bug :-) regards Leon On 10/4/06, Minh Tu Thanh Tran [EMAIL PROTECTED] wrote: Dear friends, When I click on different links or button in my jsp page quickly, normally everythings is ok but sometime the tomcat server hang, it can not response to the requests anymore because the CPU goes to 100% If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would be terrible. Does anyone know any reason that may cause the CPU runs to 100% like this? Seconds, is there any java method that can take care the CPU and he can shut down or start up the tomcat server if needed? Many thanks, Tu - 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: Problem: Tomcat server hang because CPU goes to 100%
Check how Heinz would do it: http://www.javaspecialists.co.za/archive/newsletter.do?issue=132locale= en_US -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 2:56 PM To: Tomcat Users List Subject: Re: Problem: Tomcat server hang because CPU goes to 100% create a thread dump (kill -QUIT pid) and look for the thread that hangs. then fix the bug :-) regards Leon On 10/4/06, Minh Tu Thanh Tran [EMAIL PROTECTED] wrote: Dear friends, When I click on different links or button in my jsp page quickly, normally everythings is ok but sometime the tomcat server hang, it can not response to the requests anymore because the CPU goes to 100% If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would be terrible. Does anyone know any reason that may cause the CPU runs to 100% like this? Seconds, is there any java method that can take care the CPU and he can shut down or start up the tomcat server if needed? Many thanks, Tu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]