JSP, Apache, tomcat problem
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I dont know where to put this post.. but I am in real bad shape..
I have a website www.hala.com ..
I have configured it to run with mod_jk connector to run apache and tomcat on same port...
The problem is, my Linux server gets struck after running few days and all the jsp sites render very slowly.. I checked on server and run command "top" to find CPU usage, it showed CPU 98% in use and all this is used up by a process "Java" must be tomcat..
Then I used to kill that process and restart tomcat again. and it works fine for few days again come across the same problem..
Again I have to repeat the process (kill java process and start tomcat).
Can anybody help??
I have a website www.hala.com ..
I have configured it to run with mod_jk connector to run apache and tomcat on same port...
The problem is, my Linux server gets struck after running few days and all the jsp sites render very slowly.. I checked on server and run command "top" to find CPU usage, it showed CPU 98% in use and all this is used up by a process "Java" must be tomcat..
Then I used to kill that process and restart tomcat again. and it works fine for few days again come across the same problem..
Again I have to repeat the process (kill java process and start tomcat).
Can anybody help??
<a href="http://www.galaxyweblinks.com" target="_blank" rel="nofollow">www.galaxyweblinks.com</a><br /><a href="http://www.freechatcode.com" target="_blank" rel="nofollow">www.freechatcode.com</a><br /><a href="http://www.onlinefamilytreemaker.com" target="_blank" rel="nofollow">www.onlinefamilytreemaker.com</a>
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
It sounds like you have a memory leak in your application.
Have you tried running the app with Tomcat as a standalone to rule out any issues with the connector?
It could also be that your app requires more than the 64 megs that the JVM will use by default. Have you tried increasing the initial and max heap sizes that Tomcat uses?
This sounds like more of a Tomcat issue than a JSP one.
I'll see if I can get this thread moved to the Apache Tomcat Forum.
Have you tried running the app with Tomcat as a standalone to rule out any issues with the connector?
It could also be that your app requires more than the 64 megs that the JVM will use by default. Have you tried increasing the initial and max heap sizes that Tomcat uses?
This sounds like more of a Tomcat issue than a JSP one.
I'll see if I can get this thread moved to the Apache Tomcat Forum.
varun bihani
Ranch Hand
Posts: 96
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
No I havent tried increasing the heap size. How do you do that?/ have any references??
Should I try running tomcat and apache seperately??
Should I try running tomcat and apache seperately??
<a href="http://www.galaxyweblinks.com" target="_blank" rel="nofollow">www.galaxyweblinks.com</a><br /><a href="http://www.freechatcode.com" target="_blank" rel="nofollow">www.freechatcode.com</a><br /><a href="http://www.onlinefamilytreemaker.com" target="_blank" rel="nofollow">www.onlinefamilytreemaker.com</a>
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I'm moving this to the Tomcat forum as Ben suggested.
Please continue the conversation here.
Thanks!
[ December 08, 2005: Message edited by: Jessica Sant ]
Please continue the conversation here.
Thanks!
[ December 08, 2005: Message edited by: Jessica Sant ]
- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
| To do a great right, do a little wrong - shakepeare. twisted little ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |











