Hi,

Simon:
There are a few places where CFFILE ( with an append) is used to log some 
things, but nothing that I could call a file stream or file handler.

Charlie:
I believe I turned on the memory tracking after the first half-dozen or so 
server crashes. I’ve turned it off subsequently. ( I have also read of it 
causing problems).
When the server stops responding to requests, they all have in common a large 
amount of Memory usage. CPU usage is quite low. I believe that the monitor is 
not running presently, memory usage is at 3,382MB.
I have used fusion-reactor.com previously on my old servers, and I had hoped I 
could avoid the cost of current fusion-reactor versions. I have obtained a 
quote for the new version and will get it installed soon ( hopefully ). I might 
be able to see if the demo version will work for me.



From: [email protected] [mailto:[email protected]] On Behalf Of 
Simon Haddon
Sent: Monday, 23 October 2017 3:16 PM
To: [email protected]
Subject: Re: [cfaussie] CF9 Enterprise, Memory Leak\Resource Issue

Without seeing the code my first thought is that you are opening a file stream 
or file handler without closing it within the loop.  make sure that if there 
are any open files that they are closed.
Cheers,
Simon

On 23 October 2017 at 14:38, Scott Thornton 
<[email protected]<mailto:[email protected]>>
 wrote:
Hi,

( In case anyone is still subscribed to cfaussie )

I have recently moved some code from cf6 to cf9 enterprise and a particular 
process consumes all of the resources and hangs the CF server. The exact same 
code on CF9 standard works okay ( although different windows server version ).

The code is processing HL7 messages ( health messaging, admission, discharge 
messages etc ) and basically it works in a continuous cfloop, selecting the top 
1 message from the database, and calls a bunch of extra pages to process the 
messages.


My errors look like the following, from the log file:

10/12 14:58:20 error ROOT CAUSE:
java.lang.OutOfMemoryError: GC overhead limit exceeded
                at java.util.IdentityHashMap.init(IdentityHashMap.java:244)
                at java.util.IdentityHashMap.<init>(IdentityHashMap.java:190)
                at 
coldfusion.monitor.memory.MemoryTrackerProxy.registerMemoryTracker(MemoryTrackerProxy.java:182)
                at 
coldfusion.monitor.memory.MemoryTracker.registerWithObject(MemoryTracker.java:222)
                at 
coldfusion.monitor.memory.MemoryTracker.onAddObject(MemoryTracker.java:174)
                at 
coldfusion.monitor.memory.MemoryTrackerProxy.onReplaceValue(MemoryTrackerProxy.java:598)
                at 
coldfusion.monitor.memory.MemoryTrackerProxy.onReplace(MemoryTrackerProxy.java:551)
                at coldfusion.runtime.Variable.setInternal(Variable.java:143)
                at coldfusion.runtime.Variable.set(Variable.java:71)
                at 
coldfusion.runtime.LocalScope.bindInternal(LocalScope.java:362)
                at 
cfsbbp03_pims_hl72ecfm1750835129$funcHL7LISTGETAT.runFunction(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:86)
                at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
                at 
coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
                at 
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
                at 
coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
                at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
                at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
                at 
cfsbbp03_pims_hl72ecfm1750835129._factor7(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:403)
                at 
cfsbbp03_pims_hl72ecfm1750835129._factor16(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:319)
                at 
cfsbbp03_pims_hl72ecfm1750835129._factor17(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:317)
                at 
cfsbbp03_pims_hl72ecfm1750835129._factor24(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:180)
                at 
cfsbbp03_pims_hl72ecfm1750835129._factor26(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:1)
                at 
cfsbbp03_pims_hl72ecfm1750835129.runPage(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:1)
                at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
                at 
coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
                at 
coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:271)
                at 
coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
                at 
cfsb_hl7_table_processor2ecfm1950658070._factor6(D:\WWWRoot\HNEPlatypus2\Batch\sb_hl7_table_processor.cfm:552)
                at 
cfsb_hl7_table_processor2ecfm1950658070._factor8(D:\WWWRoot\HNEPlatypus2\Batch\sb_hl7_table_processor.cfm:518)
                at 
cfsb_hl7_table_processor2ecfm1950658070._factor13(D:\WWWRoot\HNEPlatypus2\Batch\sb_hl7_table_processor.cfm:439)
                at 
cfsb_hl7_table_processor2ecfm1950658070._factor14(D:\WWWRoot\HNEPlatypus2\Batch\sb_hl7_table_processor.cfm:1)
                at 
cfsb_hl7_table_processor2ecfm1950658070.runPage(D:\WWWRoot\HNEPlatypus2\Batch\sb_hl7_table_processor.cfm:1)

I have moved the process back to my old server ( cf6 ), but the server admin 
team would prefer that the server is removed sooner rather than later.

I am contemplating putting another website on the cf9 server and running it 
from there.

There are few online forums with posts regarding similar problems, which mostly 
refer to var scoping variables in functions, or are looking at object creation.

I am seeking specific advice regarding what to do in this instance. Any gotcha, 
quick fixes, things to double check?


Unless explicitly attributed, the opinions expressed in this email are those of 
the author only and do not represent the official view of Hunter New England 
Local Health District nor the New South Wales Government..
________________________________
--
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.



--
Kind regards
Simon Haddon
--
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.
Unless explicitly attributed, the opinions expressed in this email are those of 
the author only and do not represent the official view of Hunter New England 
Local Health District nor the New South Wales Government..
________________________________

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

Reply via email to