We had experienced similar problems with cfmx 7.02 on Sun JRE 1.42-9 and -11 and dash most others. Sun JRE 1.42-13 is much better than all before it. IMHO.
Our problem was sloppy queries returning more results or more data than anticipated. How long is your garbage collection interval? If your GC is set too long CF will do just this while it cleans up via the Full GC. Wil Terry Ford wrote: > Just revisiting this topic, as it still plagues us today (CFMX 6.1). We're > waiting for CF8 to upgrade. > > No, we do not have any other processes running at the "stop the world" > pauses, and the 2-4 minute delays occur randomly and at different times, > approximately twice a day. > > Here's another strange symptom that seems to indicate something wacky is > going on with memory: > > I tried using Pete Freitag's "memory monitoring" code: > http://www.petefreitag.com/item/115.cfm > > Our server processes approx 30 templates/second. > > <cfset runtime = CreateObject("java","java.lang.Runtime").getRuntime()> > <cfset freeMemory = runtime.freeMemory() / 1024 / 1024> > > Here's what the "Free Allocated Memory" statistic does, taken at 5 second > intervals (Xmx of 800MB right now): > > 121 mb > 421 mb > 338 mb > 42 mb > 41 mb > 443 mb > 25 mb > 390 mb > 39 mb > > I'm amazed at how much "free allocated memory" is leaping about every 5 > seconds. Is this at all normal? Or is there a major leak or something with > Jrockit, Jrun, or our app? > > Regards, > Terry > > > Nicholas M Tunney <[EMAIL PROTECTED]> wrote: Do you have any backup processes > running during this time period? > > Nic > > Terry Ford wrote: > >> We are running CFMX 6.1 on linux RHEL4. >> >> Approximately once every 8-12 hours or so our server stops responding for >> about 3 minutes. Symptoms: CF stops processing requests, stops queueing, >> stops timing out requests, stops doing everything. >> >> We are using Jrockit 1.4.2 right now, but it also happens under Sun's JVM >> too. >> >> cfstat 1: >> >> 0 11 0 23 -1 -1 127 15 1 137 247 0 0 0 >> 0 11 0 23 -1 -1 127 15 1 137 247 0 0 0 >> 0 11 0 23 -1 -1 127 15 1 137 247 0 0 0 >> 0 11 0 23 -1 -1 127 15 1 137 247 0 0 0 >> 0 11 0 23 -1 -1 127 15 1 137 247 0 0 0 >> ... etc.. for 3 minutes. >> >> Then it jumps back to life again, taking off as if nothing ever happened. >> >> I thought perhaps it was a problem with garbage collection, but Jrockit's GC >> debugging looks fine. In fact, it continues to garbage collect during that >> 3 minutes, just as it did before the freeze: >> >> [gcpause][Thu Nov 9 16:00:07 2006][13912] old collection phase 0-2 pause >> time: 7.998000 ms, (start time: 21226.183 s) >> [gcpause][Thu Nov 9 16:00:07 2006][13912] total mark time: 530.209 ms >> [gcpause][Thu Nov 9 16:00:07 2006][13912] total sweep time: 5.027 ms >> [gcpause][Thu Nov 9 16:00:07 2006][13912] old collection phase 4-0 pause >> time: 27.229000 ms, (start time: 21226.692 s) >> [gcpause][Thu Nov 9 16:00:07 2006][13912] (pause includes compaction: 0.000 >> ms (no compaction), update ref: 0.000 ms) >> [gcpause][Thu Nov 9 16:01:07 2006][13912] old collection phase 0-2 pause >> time: 10.371000 ms, (start time: 21286.774 s) >> [gcpause][Thu Nov 9 16:01:08 2006][13912] total mark time: 452.252 ms >> [gcpause][Thu Nov 9 16:01:08 2006][13912] total sweep time: 39.125 ms >> [gcpause][Thu Nov 9 16:01:08 2006][13912] old collection phase 4-0 pause >> time: 62.351000 ms, (start time: 21287.204 s) >> [gcpause][Thu Nov 9 16:01:08 2006][13912] (pause includes compaction: >> 30.253 ms (external), update ref: 4.000 ms) >> [gcpause][Thu Nov 9 16:02:08 2006][13912] old collection phase 0-2 pause >> time: 15.459000 ms, (start time: 21347.301 s) >> [gcpause][Thu Nov 9 16:02:09 2006][13912] total mark time: 581.907 ms >> [gcpause][Thu Nov 9 16:02:09 2006][13912] total sweep time: 147.318 ms >> [gcpause][Thu Nov 9 16:02:09 2006][13912] old collection phase 4-0 pause >> time: 181.771000 ms, (start time: 21347.849 s) >> [gcpause][Thu Nov 9 16:02:09 2006][13912] (pause includes compaction: >> 131.157 ms (internal), update ref: 16.001 ms) >> [gcpause][Thu Nov 9 16:03:09 2006][13912] old collection phase 0-2 pause >> time: 16.870000 ms, (start time: 21408.057 s) >> >> So the JVM appears to be fine. The problem is not with the database -- >> there are no outstanding queries when this occurs. The network connection >> is fine. The disk is fine. There's a ton of memory. There's no paging >> going on. >> >> So... does anyone have any idea what might be causing these infrequent yet >> long pauses? >> >> Regards, >> Terry >> >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4320 Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
