Has anyone had problems with TOMCAT just stopping. I see many references to it on the web but manily for Lynux. I am running on WinServer2000.
Sometimes the AWARE app just crawls and then can't be used. Recently no-one could log in. Restarting TOMCAT seemed to clear temporarily.
The log file refers to timeout references and max threads reached. Timeout setting for Aware/Tomcat and Jboss are one hour.
Problem with TOMCAT stopping
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
You need to perform a careful analysis of the logs when something like this happens - the most likely reason is the system running out of resources. This does not have to be Tomcat - both Tomcat and JBoss are VERY reliable. And it does not have to be an Aware IM problem either - you may need to allocate more resources, for example memory.
Aware IM Support Team
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
After running the app for a full business day at 300Mb for Aware, JBoss and Tomcat, the three services are running at:
153mb, 58mb and 40mb
I stopped Aware and the service at 58mb stopped
Stopping JBOSS stopped the service at 40mb
Finally stopping Tomcat stopped the 153mb service
I am trying to determine what are the corrcet settings for this site. This would appear to indicate that Tomcat was at least 3MB short when using 150 as before today, but the other two perhaps do not need as much as 300.
Is this a fair assumption and could I change settings to something like:
Tomcat: 200mb
Aware: 100mb
Jboss: 100mb
153mb, 58mb and 40mb
I stopped Aware and the service at 58mb stopped
Stopping JBOSS stopped the service at 40mb
Finally stopping Tomcat stopped the 153mb service
I am trying to determine what are the corrcet settings for this site. This would appear to indicate that Tomcat was at least 3MB short when using 150 as before today, but the other two perhaps do not need as much as 300.
Is this a fair assumption and could I change settings to something like:
Tomcat: 200mb
Aware: 100mb
Jboss: 100mb
-
- Site Admin
- Posts: 65
- Joined: Sun Jan 02, 2005 4:36 am
- Contact:
It is hard to predict how much memory your particular application needs. The general guidelines are:
1) Aware IM Server needs more memory if your application is large and handles complex tasks
2) Tomcat needs more memory if you have many concurrent users
3) JBoss usually does not need a lot of memory unless you exchange large chunks of data between the server and the client (for example, large images etc)
So in your case you just need to experiment and find out to an optimal set of values.
1) Aware IM Server needs more memory if your application is large and handles complex tasks
2) Tomcat needs more memory if you have many concurrent users
3) JBoss usually does not need a lot of memory unless you exchange large chunks of data between the server and the client (for example, large images etc)
So in your case you just need to experiment and find out to an optimal set of values.