Howdy, Look for infinite loops... Yoav Shapira Millennium ChemInformatics
>-----Original Message----- >From: Ravi Puthiyattil [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 18, 2003 2:47 PM >To: Tomcat Users List >Subject: RE: CPU usage 100% > >Hi, > I was not using -server option. Now i changed it to -server option and >also increased heap size to 512m. Still i have 100%CPU problem. When this >problem occurs i can't access any page. I have to do a kill -9 on jvm and >then restart the server. > What should i try next. > >Thanks in advance > >Ravi >----- Original Message ----- >From: Jared Walker <[EMAIL PROTECTED]> >Date: 09 Sep 2003 14:10:13 -0500 >To: Tomcat Users List <[EMAIL PROTECTED]> >Subject: RE: CPU usage 100% > >> Howdy, >> >> If it does it when there is no one accessing the server then I would >> think its the JVM not tomcat. Check your JVM settings. If you're >> starting up with the -server option I've noticed that the garbage >> collection will show 100% cpu utilization even though the system >> responds fine. This may be what you are experiencing. >> >> later, >> -Jared >> >> On Tue, 2003-09-09 at 12:50, Shapira, Yoav wrote: >> > Howdy, >> > The SIGQUIT works for me even when CPU usage is 100%, so it's strange >it >> > doesn't work for you. (I'm on solaris though). >> > >> > One important thing to check is your JSP page; make sure you have no >> > infinite loops or other such locks in the page. >> > >> > Yoav Shapira >> > Millennium ChemInformatics >> > >> > >> > >-----Original Message----- >> > >From: Ravi Puthiyattil [mailto:[EMAIL PROTECTED] >> > >Sent: Tuesday, September 09, 2003 1:36 PM >> > >To: [EMAIL PROTECTED] >> > >Subject: CPU usage 100% >> > > >> > >Hi all, >> > > I am running Tomcat 4.1 on HPUX11.11, jdk1.4.1 running a small jsp >> > page. >> > >Tomcat hangs with 100% cpu after some time. I tried to do a kill >> > >-SIGQUIT on the process, but there is no trace dump. Trace dump works >> > >only when the cpu is not at 100% (or when tomcat is running >> > >normally). I tried using glance and checked all the threads, most of >> > >the threads are in wait state SYSTEM and 3 threads are in wait state >> > >SLEEP. These 3 threads are the ones that have high CPU time. >> > > I notice this behaviour even when no body is accessing web page. So >> > >it looks like when it is idle for a while the CPU usage goes 100%. >> > > I don't know how to debug next. I need some help in finding out why >> > >and where the CPU goes nuts. Is there anything i need to change in >> > >the config files ? Please help. >> > > >> > >Thanks in advance, >> > > >> > >Ravi >> > > >> > >-- >> > >__________________________________________________________ >> > >Sign-up for your own personalized E-mail at Mail.com >> > >http://www.mail.com/?sr=signup >> > > >> > >CareerBuilder.com has over 400,000 jobs. Be smarter about your job >> > search >> > >http://corp.mail.com/careers >> > > >> > > >> > >--------------------------------------------------------------------- >> > >To unsubscribe, e-mail: [EMAIL PROTECTED] >> > >For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> > >> > This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> -- >> Jared Walker <[EMAIL PROTECTED]> >> ClickFind >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > >-- >__________________________________________________________ >Sign-up for your own personalized E-mail at Mail.com >http://www.mail.com/?sr=signup > >CareerBuilder.com has over 400,000 jobs. Be smarter about your job search >http://corp.mail.com/careers > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
