Hi,


>The machine's are not swapping, simply JVM's max memory is 2GB. Our



They might not be swapping, but they certainly appear to be spending a
good amount of time on GC.  0.8sec for an incremental GC is significant.
But that might be because your heap is so high.



>RAM is 4GB. Any attempt to assign larger max memory to java, will

>cause failure in starting tomcat. A friend has tried doing this on

>FreeBSD and Gentoo Linux as well with the same results.



That's a JVM limitation, not a Tomcat one, so contact Sun if you want to
address more memory (I think J2SE 5.0 allows this already).



>43421.932: [GC 1704578K->1569670K(2073856K), 0.8122640 secs]

>43436.720: [GC 1756038K->1612010K(2073856K), 0.7409810 secs]

>43449.488: [GC 1798378K->1648439K(2073856K), 0.6549710 secs]

>43453.472: [GC 1834807K->1679482K(2073856K), 0.5872020 secs]

>43481.034: [Full GC 1865850K->809682K(2073856K), 8.6202320 secs]

>43502.707: [GC 996050K->851676K(2073856K), 0.5027510 secs]

>43523.369: [GC 1038044K->879605K(2073856K), 0.5389870 secs]

>43542.764: [GC 1065973K->883973K(2073856K), 0.2121380 secs]

>43569.000: [GC 1070340K->895005K(2073856K), 0.1536880 secs]

>43591.007: [GC 1081336K->917841K(2073856K), 0.4391310 secs]

>43619.284: [GC 1104209K->953106K(2073856K), 0.6477030 secs]

>43658.215: [GC 1139474K->985160K(2073856K), 0.5575750 secs]



So what's your complaint?  That it's GC'ing too much?  That it's not
handling enough concurrent clients?  Those connection reset messages
that were in your log?  Do you have defined performance goals are you
simply trying to make it "not sluggish" ?



Yoav Shapira <http://www.yoavshapira.com/>




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.

Reply via email to