Hi CF linuxers,

I've been running CFMX on Jrockit 1.4.2 for a long time now.  It has always 
performed far better than the other JVMs for our applications.  Only 1 crash in 
over 2 years.  Current uptime of a few months.  

However, as our traffic has risen and the complexity of our apps has grown, 
we've started to notice a garbage collection problem.

Short term garbage collection works great.  There are almost no noticable 
pauses in everyday operation.  The server handles 1000+ users at a time without 
much of a problem.

However, once in a long time (every 12 hrs?  18 hrs?  24 hrs? something on that 
magnitude), the JVM becomes totally unresponsive for 2 or 3 minutes.  It 
completely stops processing templates, and then returns to normal at the end of 
the 3 minutes.  CFSTAT freezes, indicating nothing is going on.  The DB server 
is processing no queries.  

I suspect that it is using this period of time to do some sort of major 
long-term garbage collection.    This is a bit of a problem, since some of our 
applications are real-time sensitive and we really can't have these pauses.

So I was wondering if anyone has any ideas on what may be causing these 
infrequent yet severe pauses.

This server is dedicated to HTTP / CFMX6.1.  DB is on a different server.

Here is the status of our memory at steady state:

             total       used       free     shared    buffers     cached
Mem:       4130600    4114828      15772          0       7844    2141576
-/+ buffers/cache:    1965408    2165192
Swap:      1052248        304    1051944

Here are our JVM args:

java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS 
-Xbootclasspath/a:{application.home}/lib/webchartsJava2D.jar -Dja
va.awt.graphicsenv=com.gp.java2d.ExHeadlessGraphicsEnvironment -Xmx1000m 
-Xms1000m -Xgcprio:pausetime

I think we could probably up that 1000 Xmx, but wouldnt that just make the 
garbage collection problem more severe?

The "pausetime" param is described as "The pausetime priority should be used 
when the application depends on an even performance."  Yet the pauses are still 
occurring.

Thoughts on possible solutions would be much appreciated.  Thanks.

Terry



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4309
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14

Reply via email to