We're seeing some similar behavior here at *mumble*. I suspect improper
locking of Session variable is at least partly to blame.

Lots of stuff like this:

<cflock scope="session" type="readonly" timeout="5">
  <cfset request.strLogin = StructCopy(Session.strLogin)>
</cflock>

Or even worse:

<cflock scope="session" type="readonly" timeout="5">
  <cfset request.strLogin = Session.strLogin>
</cflock>

Where "strLogin" is a structure of structures (of structures).

Inexperienced CF Developers and unreasonable deadlines in the early
stages of the project have made a bit of a mess.

--- Nathaniel Horwitz <[EMAIL PROTECTED]> wrote:
> I'd be more inclined to agree with him. At my previous company, we had
> some
> problems with increasing memory usage after restarting. It turned out
> to be
> our code- the way we were locking (In our case, not locking at all) the
> session variables.
> 
> We'd restart the server at least once a day and when we sorted out the
> locking problems, it was much less than that.
> 
> Nathaniel
> 
> -----Original Message-----
> From: Chris Norloff [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 10:21 AM
> To: CF-Talk
> Subject: Re: CF 5 App crashing every 5 minutes...
> 
> 
> That sounds more like freezing than crashing.  I'd check all
> shared-scope
> variables for locking (ANY use of a shared-scope variable MUST be
> locked).
> 
> I also recommend a MM TechNote called "Timeouts and Unresponsive
> Requests".
> 
> Chris Norloff
> 
> 
> >----- Original Message -----
> >From: "Joel Blanchette" <[EMAIL PROTECTED]>
> >To: "CF-Talk" <[EMAIL PROTECTED]>
> >Sent: Wednesday, July 31, 2002 10:07 AM
> >Subject: CF 5 App crashing every 5 minutes...
> >
> >
> >> Hello All,
> >> I need big help.....Last night, I saw that our server was going
> >> down, then I noticed that it was not the server but more that the
> >> cfserver.exe in the task manager was just stopping.  If I restart
> the
> >> serveice it is all good.  But I need to do this every 5
> minutes...Which
> >> is not good...So I wrote a batch file that does it for me.
> >>
> >> I need to know why this error is happening.  It seems like when the
> >> cfserver.exe gets around 25 megs or memory use it just stops
> responding.
> >> The task is still there but it will not respond.  I'm using CF
> Server 5
> >> on a Windows server 2000 SP2.  Is there something in the threads
> that I
> >> should change?
> >>
> >> I can post the lines of the error logs of CF here but I need to know
> >> which ones u would need.  I will need help.  I did nothing to the
> server
> >> that would just start doing this.  We are getting more traffic then
> >> before.  Would that be the cause?  If yes, there must be a way to
> fix
> >> this.


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to