tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Someone Else" <lunarm...@hotmail.com>
Subject A tomcat limitation?
Date Thu, 08 Jul 2004 16:46:24 GMT
Hi

I've got a system with about 150 virtual hosts running on standalone Tomcat 
4.

The system is behaving as follows:

After about 24 hrs it throws an outofmemory exception, but without maxing 
out memory. I've run extensive profiling, as per QM's suggestion, and have 
found that the applications do not leak memory.

Here's what I've noticed, though:

If I hammer one host it performs fine. No memory leak, no thread/handle 
leaks.
If I hammer sequentially at all hosts, it throws the exception by the time I 
hit host 80 or so.

The only thing is that I check used memory throughout the process, and it 
never exceeds it's limits - so it's not actually running out of memory! 
Threads and handles are also fine.

So what's going on? Is there some kind of maximum number of virtual hosts 
that Tomcat can handle? Will creating multiple tomcat instances help the 
problem?

Above all - What is Tomcat running out of if it's not memory, threads or 
handles?

Finally, I have 3 contexts per host - would this impact anything? These 
contexts are defined in server.xml - would it be better if they were in the 
web.xml of each app?

Any help would be appreciated.

Lunar

_________________________________________________________________
Free yourself from those irritating pop-up ads with MSn Premium. Get 2months 
FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message