> What kind of machine are you running these 163/164 
> instances of Tomcat on, and when you are running them, 
> what /does/ "free" say ?

I have two different servers with 164 instances of tomcat. Both servers
have 2x quad-core 2.8Ghz Xeon processors with 32GB RAM. On the first
server (app03), most instances of tomcat are configured with 64MB of
Java heap. About 20% of them have 96-256MB. I almost never reboot this
server (current uptime 61 days). Here's 'free' from app03.


[r...@app03 ~]# free
             total       used       free     shared    buffers
cached
Mem:      33265832   30570260    2695572          0     296976
4562784
-/+ buffers/cache:   25710500    7555332
Swap:      2031608          0    2031608


On the other server (app04), all instances of tomcat are configured with
512MB Java heap (-ms512M -mx512M). After 4 or 5 days of uptime, the
server starts to swap a little. Then I reboot it and it is fine for
several more days. As you can see from the following, it is about time
for a reboot. If I do not reboot it tonight, by tomorrow or the next day
it may be up to 1-2GB of swap. (It actually doesn't slow the server down
much though. sar shows that it runs about 90% idle anyway, including
iowait.

[r...@app03 ~]# ssh app04 free
             total       used       free     shared    buffers
cached
Mem:      33265832   32965812     300020          0     191248
3842092
-/+ buffers/cache:   28932472    4333360
Swap:      2031608       4288    2027320


--
Eric Robinson




Disclaimer - July 26, 2010 
This email and any files transmitted with it are confidential and intended 
solely for Tomcat Users List. If you are not the named addressee you should not 
disseminate, distribute, copy or alter this email. Any views or opinions 
presented in this email are solely those of the author and might not represent 
those of . Warning: Although  has taken reasonable precautions to ensure no 
viruses are present in this email, the company cannot accept responsibility for 
any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to