We are also running into out of memory issues.  I currently restart CF twice
a day (we have load balancing and session replication so it shouldn't affect
users), but I would love for it to restart automatically.  

If it's not possible to do it automatically, I would probably build some
sort of script that hits the site and gets the amount of memory used.  If
the memory usage is high, restart the service, or restart if cannot reach
the server.  

Would love to only do this when it's really out of memory though.  

Russ

> -----Original Message-----
> From: Chris Norloff [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2008 9:29 AM
> To: CF-Talk
> Subject: RE: JVM auto-restart on Out of Memory error?
> 
> Sure! Makes sense. What we have is a once-every-two-months problem, and
> while working on what the problem is, I'd like to reduce the impact on our
> users. Once the Out of Memory error occurs, there's nothing to do but a
> restart anyway.
> 
> Thanks,
> Chris
> 
> -----Original Message-----
> From: Rick Root [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2008 8:16 PM
> To: CF-Talk
> Subject: Re: JVM auto-restart on Out of Memory error?
> 
> So umm... why are you running out of memory?  Perhaps you could resolve
> that
> issue and not have to worry about restarting the JVM, which would cause
> problems for your users.
> 
> I just went through hell trying to PREVENT coldfusion from restarting all
> the time due to memory problems...
> 
> Rick
> 
> 
> On Wed, Jul 9, 2008 at 12:00 PM, Chris Norloff <[EMAIL PROTECTED]> wrote:
> > I'd like to set our JVMs to automatically restart when we get a Java
> > out of memory error. I believe I had this before at another job, but
> > now can't find the JVM options for this (CFMX 7.02, JVM 1.4.2_11, on
> Windows 2003 Server).
> >
> > Sun describes some great options, but they're on later JVM versions. I
> > may be able to use -XX:OnError="<cmd args>;<cmd args>" for running
> > user commands on fatal error, but I was wondering what other
> possibilities
> there are.
> >
> > Thank you,
> > Chris
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308891
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to