P.S you should also lock <cffile> where you are accessing a file.
Douglas Brown Email: [EMAIL PROTECTED] ----- Original Message ----- From: "Douglas Brown" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 11:37 AM Subject: Re: CF 5 App crashing every 5 minutes... > All shared scope variables should be locked at all times, no matter how simple > the code may be...Especially in CF 5 and below, where it can cause server > instability. > > > > > Douglas Brown > Email: [EMAIL PROTECTED] > ----- Original Message ----- > From: "Joel Blanchette" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, July 31, 2002 11:27 AM > Subject: RE: CF 5 App crashing every 5 minutes... > > > > I am also not using any kind of locking. I did not think that I would > > need to since it was very basic code > > > > > > > > ============================== > > Joel Blanchette > > IT and System Specialist > > Point of Impact Technologies Inc. > > Tel: (204) 989-0013 > > Email: [EMAIL PROTECTED] > > ============================== > > > > > > -----Original Message----- > > From: Nathaniel Horwitz [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 31, 2002 12:38 PM > > To: CF-Talk > > Subject: RE: CF 5 App crashing every 5 minutes... > > > > > > 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. > > >> > > >> > > >> > > >> ============================== > > >> Joel Blanchette > > >> IT and System Specialist > > >> Point of Impact Technologies Inc. > > >> Tel: (204) 989-0013 > > >> Email: [EMAIL PROTECTED] ============================== > > >> > > >> > > > > > > > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

