|
We'll figure that out, I believe.
Kind Regards - Mike Brunt
CTO and Lead Architect - Webapper Services LLC
Tel 562.243.6255
Web Site: http://www.webapper.com
Blog: http://www.webapper.net
Tools: http://www.seefusion.com
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes Sent: Friday, May 26, 2006 7:01 PM To: [email protected] Subject: RE: Reactor Performance was RE: [Reactor For CF] Been out of touch, but trying to get back Yea, I think there’s a
50/50 chance this is in reactor or the blog…. I’m not sure yet,
honestly. Doug From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Lester Mike, On 5/27/06, Dan Wilson <[EMAIL PROTECTED]>
wrote: Thanks to both of you for the lessons, as appropriate
and mult-faceted as they happen to be. I appreciate the info as well as
the pointers to more information.
On 5/26/06, Mike Brunt - Webapper Services, LLC < [EMAIL PROTECTED]>
wrote: Dan there are
basically two flavors of Garbage Collection (GC) in the JVM. The
ongoing GC's (not Full) are going on all the time and are typically
miliseconds in duration. For instance on Doug's server there were 2,569
GC's in a 12.8 hour period, 56 of which were Full
GC's. Full GC's in this case
were what the JVM decided was necessary. When I first looked and prior to
adding the disable explicit GC's there were 786 Full GC's in just over 8
hours. Because they were being called explicitly probably, by
RMI. Full GC's are at best a
necessary evil because literally everything stops so they need to be minimzed to
run when needed and should always reclaim some memory, if they do not they
should not be running. And yes your assumption is correct in a Full GC all
objects are inspaected, as Sean rightly says in his last excellent post, this is
a very dense subject. One last thing I will
emphasize here for now. In all CFMX installations the JVM is as close to a
beating heart as CF gets (this is true of all J2EE - JavaEE applications and
servers). Kind Regards - Mike Brunt
CTO and Lead Architect - Webapper
Services LLC Tel
562.243.6255 Web Site: http://www.webapper.com Blog: http://www.webapper.net Tools: http://www.seefusion.com From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dan Wilson
So to the layperson, Explicit Garbage
collection would infer a complete review of all objects held in memory and a
complete review of all currently held references. ( sounds like VACUUM FULL in
PostgreSQL, Expensive and Important. ) On 5/26/06, Mike Brunt - Webapper Services, LLC <[EMAIL PROTECTED]>
wrote: As a quick explanation
about garbage collection, objects are inspected to see if there are any
references to them if there are not they are garbage collected and the memory is
freed up. So if the references to any objects are not being released
effectively in an application they will hang around. That is a vey basic
explanation of why objects are not collected and memory is not freed up.
I think there is
another thought point here, Jeff Lester mentioned he does NOT have similar
issues (correct me if I am wrong Jeff) does Jeff also use the Blog
Application? Kind Regards - Mike Brunt
CTO and Lead Architect - Webapper
Services LLC Tel
562.243.6255 Web Site: http://www.webapper.com Blog: http://www.webapper.net Tools: http://www.seefusion.com From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On Behalf Of
Doug Hughes
Mike – As always:
Awesome. I've been using a tool called Jprobe to watch what variables CF
creates when using my blog. I can essentially run one use case and see
what's around when I'm done. Based on this, I'm beginning to suspect that
this is in the OO queries…. I think that some of the various objects (join,
field, order, etc) used by the queries are not released when the query is added
back into the resource pool. I'm not sure, however, how this could create
such a leak. OO queries are where I'll be focusing a lot of my time this
weekend with reactor dev. Maybe I'll track it down? We'll
see. Doug From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On Behalf Of
Mike Brunt - Webapper Services, LLC Just a quick update on
what I found this morning. Doug last restarted his CFMX instance here
05/25 21:47:47, the first Full GC ocurred 5.4 hours later (which is early
morning?) and as with the previous behavior did reclaim a good amount of memory
(around 220MB). However, in the total time the system has been up there
have been 56 Full GC's and as before the most recent ones reclaim virtually no
memory. As of 10 minutes ago
there was 220MB of available memory which is reasonable. I will be sending
Doug some other suggestions as tweaks to the JVM arguments in a little while to
see if we can control those Full GC's more effectively. I will also have
some observations about the New and Old memory
segments. Kind Regards - Mike Brunt
CTO
and Lead Architect - Webapper Services LLC Tel
562.243.6255 Web
Site: http://www.webapper.com
Blog: http://www.webapper.net
Tools: http://www.seefusion.com
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On Behalf Of
Brian Kotek Mike I'm afraid I can't add to the technical discussion
becuase the innards of the JVM are way over my head. But I am learning a lot
from hearing this back and forth and I wanted to thank you for stepping up and
helping Doug work through this.
On 5/25/06,
Mike Brunt - Webapper Services,
LLC <
[EMAIL PROTECTED]> wrote: I thought I would add a bit to the subject line so that
we know this is
-- Reactor for ColdFusion Mailing List -- [email protected] --
Archives at http://www.mail-archive.com/reactor%40doughughes.net/ --
Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/
-- Reactor for ColdFusion Mailing List -- [email protected] --
Archives at http://www.mail-archive.com/reactor%40doughughes.net/
"Go for it, its later than you think" -- Reactor for
ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/
-- Reactor for ColdFusion Mailing List -- [email protected] --
Archives at http://www.mail-archive.com/reactor%40doughughes.net/
|
RE: Reactor Performance was RE: [Reactor For CF] Been out of touch, but trying to get back
Mike Brunt - Webapper Services, LLC Fri, 26 May 2006 21:59:51 -0700
- RE: Reactor Performance was RE: [... Mike Brunt - Webapper Services, LLC
- RE: Reactor Performance was RE: [... Doug Hughes
- Re: Reactor Performance was RE: [... Dan Wilson
- RE: Reactor Performance was RE: [... Mike Brunt - Webapper Services, LLC
- Re: Reactor Performance was RE: [... Dan Wilson
- Re: Reactor Performance was RE: [... Sean Corfield
- RE: Reactor Performance was RE: [... Mike Brunt - Webapper Services, LLC
- Re: Reactor Performance was RE: [... Dan Wilson
- Re: Reactor Performance was RE: [... Jeff Lester
- RE: Reactor Performance was RE: [... Doug Hughes
- RE: Reactor Performance was RE: [... Mike Brunt - Webapper Services, LLC
- RE: Reactor Performance was RE: [... Doug Hughes
- RE: [Reactor For CF] Been out of touch... Doug Hughes

