Hi,

I just wanted to post my info on the subject, even though I dont have 100 hosts on a single machine.

We run near 60 hosts on one machine, in 10 instances of tomcat. memory usage has been the biggest problem as our application use cache:ing alot to increase performance. all of those hosts are running fairly complex CMS systems. the computer has 2 Xeon CPUs and 4gigs ram RedHat EAS.

The greatest improvement on our memory problem got fixed when we changed the setup of tomcat so that it would not reload contexts and jsp pages. The memory leaks that we had been seeing (ever increasing memory usage of tomcat) stopped.

But, in my opinion you should not be seeing some memory problems with 100 hosts (if you have 16g ram). I recomend the usage of several instances of tomcat, but that will be on the cost of memory (one instance seems to use around 30mb (rather basic setup) of ram, even though the profiled usage is alot less), but by doing this you will get way better manageability. I dont think I have to point out the obvious benefits of having several hosts, but one is restarting services will be alot easyer and dealing with all sorts of problems will be easyer.

100 hosts require alot of memory, but everything dependes of course on your application and traffic. This machine is taking on something around 20req/sec average, and the load is (cp from top) "load average: 1,08, 1,22, 1,24"

But of course cpu power or IO is usually not the bottleneck in java-server-applications.

-reynir


Niki Ivanchev wrote:


God save our apps from any memory leaks.
Of course we will test them for this issue. And perform stress testing
20 sounds fair enought. Frankly I don't expect too much traffic per e-shop.
Niki


Shapira, Yoav wrote:

Hi,
We have tomcat instances that run ~20 webapps without a problem.  Beyond
that, we haven't tried, but then again that's why we have tools like
JMeter, no? ;)

In large part this will depend on the soundness of the application.
Especially if it's 100 of the same app, because then each memory leak
would be multiplied by 100.

Yoav Shapira
Millennium Research Informatics




-----Original Message-----
From: Niki Ivanchev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:43 AM
To: Tomcat User
Subject: tomcat performance with 100 webapps

Have some one tested Tomcat with more than 100 webapps. For example
e-commrece solution, without many bells and whistles - jsut shopbuilder
and sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and

lot


of RAM (16G) on RedHat EAS?
Niki
Icygen Co.

---------------------------------------------------------------------
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]









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to