have tomcat server with apache (mod_jk) and mysql running on my box. Initially there were no issues with the server. But from past one month, the tomcat application hangs and websites also doesn't open. Though when i run nmap localhost, it shows me 8080 and ajp13 services running.
Check the cpu/memory utilized in the server. Check your GC logs, if you have one. Did u get any OOM errors in yout tomcat log files or any other exceptions while accessing the website. I have notices that in last 1 month serveral websites have been hosted on the box. Earlier around 6-10 websites were hosted but now it has increased to 20. Is it putting load on the server. Check the cpu/memory utilized in the server. - to find the cause. I am facing another issue. Most of the websites have .war files deployed, so whenever i restarts the tomcat, it takes 90 seconds to start the tomcat. Time duration has also incereased as the no. websites have increased. All depends on your mem/cpu aavailable for use . On Fri, Nov 14, 2008 at 8:58 PM, Gaurav Pruthi <[EMAIL PROTECTED]> wrote: > Dear All, > > I have tomcat server with apache (mod_jk) and mysql running on my box. > Initially there were no issues with the server. But from past one month, > the > tomcat application hangs and websites also doesn't open. Though when i run > nmap localhost, it shows me 8080 and ajp13 services running. > > I have notices that in last 1 month serveral websites have been hosted on > the box. Earlier around 6-10 websites were hosted but now it has increased > to 20. Is it putting load on the server. > > I am facing another issue. > Most of the websites have .war files deployed, so whenever i restarts the > tomcat, it takes 90 seconds to start the tomcat. Time duration has also > incereased as the no. websites have increased. > > Kindly provide me some solution so that i don't have to face any downtime > in > future. > > > > Thanks, > Gaurav Pruthi > -- Regards&Thanks, Vasanth Kumar Ravi