RE: CF 5 App crashing every 5 minutes...

2002-08-01 Thread Al Everett

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



RE: CF 5 App crashing every 5 minutes...

2002-08-01 Thread Steven Salter

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

Aye, a lot of that here as well...*blush*

When we started, we used a set of shopping cart scripts from CartEase to
give us a jumpstart. Unfortunately, that code also taught us some bad CF
programming habits, such as not locking scope variables at all! I just
recently understood how important this is. *sigh* Of course, the CartEase
stuff was buggy anyway and had to be completely re-written to work with
Linux and Oracle, it was written for windoze servers with Access or SQL
Server and mistakenly advertised as working on linux and with any SQL
database. lol.


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

That would describe my situation exactly except a bit of a mess is an
understatement. At least I know now and added locks to all session vars. A
lot of other fixes on my list as well, the more I dig into CF best
practices coding. I shoulda done this a long time ago but as you
remarkedunreasonable deadlines and so on. :)

At least I am using the log files now. hehe...amazing how useful they are,
eh?

-Steve

__
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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Joel Blanchette

Thanks all...It seems to work perfectly nowI will keep an eye out on
it for a few hours.   

Again thanks for all the help.  I love this list!

 
 
==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 2:13 PM
To: CF-Talk
Subject: Re: CF 5 App crashing every 5 minutes...


What version of CF are you using? If you are using 5 then it will be
under settings. As far as the time-out is concerned, I would set it to
30 and then in the templates that you are talking about, you can use
requesttimeout= in your url variable.

IE:

http://www.yourserver.com?requesttimeout=




Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Joel Blanchette [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 11:40 AM
Subject: RE: CF 5 App crashing every 5 minutes...


 I have 1 cpu intel 850mhz

 I need the timeout high before some of our stats that go off at the 
 middle of the night takes a while to finish.  We are re-vamping the 
 stats system right now.  Hopefully this will be better in a couple of 
 weeks.

 I will change it to 5...

 How to I enable strict attribute validation?



 ==
 Joel Blanchette
 IT and System Specialist
 Point of Impact Technologies Inc.
 Tel: (204) 989-0013
 Email: [EMAIL PROTECTED] ==


 -Original Message-
 From: Douglas Brown [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 31, 2002 1:20 PM
 To: CF-Talk
 Subject: Re: CF 5 App crashing every 5 minutes...


 Limit simultaneous requests to : 10 how many cpu's?
 Timeout requests after : 900 s Kinda high dont ya think? 30 -
60
 maybe
 Restart at   10 unresponsive requests - I would make this like 5
 Restart when requests terminate abnormally : on
 Suppress whitespace by default: on


 I would also enforce strict attribute validation.




 Douglas Brown
 Email: [EMAIL PROTECTED]
 - Original Message -
 From: Joel Blanchette [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, July 31, 2002 11:07 AM
 Subject: RE: CF 5 App crashing every 5 minutes...


  Limit simultaneous requests to : 10
  Timeout requests after : 900 s
  Restart at   10 unresponsive requests
  Restart when requests terminate abnormally : on
  Suppress whitespace by default: on
 
  Template cache size:   1024 kilobytes
 
 
  Anything else?  Let me know where it would be in the menu and I will
  get it..
 
  Thanks for the help
 
 
 
  ==
  Joel Blanchette
  IT and System Specialist
  Point of Impact Technologies Inc.
  Tel: (204) 989-0013
  Email: [EMAIL PROTECTED] ==
 
 
  -Original Message-
  From: Douglas Brown [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 31, 2002 12:17 PM
  To: CF-Talk
  Subject: Re: CF 5 App crashing every 5 minutes...
 
 
  What settings do you have in Admin? Max number of threads
 etc...Template
  caching?
 
 
 
 
  Douglas Brown
  Email: [EMAIL PROTECTED]
  - 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]
==
  
  
 
 

 

__
Get the mailserver that powers this list at http://www.coolfusion.com
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



Re: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Douglas Brown

Glad to be of service!!




Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message - 
From: Joel Blanchette [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 1:32 PM
Subject: RE: CF 5 App crashing every 5 minutes...


 Thanks all...It seems to work perfectly nowI will keep an eye out on
 it for a few hours.   
 
 Again thanks for all the help.  I love this list!
 
  
  
 ==
 Joel Blanchette
 IT and System Specialist
 Point of Impact Technologies Inc.
 Tel: (204) 989-0013
 Email: [EMAIL PROTECTED]
 ==
 
 
 -Original Message-
 From: Douglas Brown [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, July 31, 2002 2:13 PM
 To: CF-Talk
 Subject: Re: CF 5 App crashing every 5 minutes...
 
 
 What version of CF are you using? If you are using 5 then it will be
 under settings. As far as the time-out is concerned, I would set it to
 30 and then in the templates that you are talking about, you can use
 requesttimeout= in your url variable.
 
 IE:
 
 http://www.yourserver.com?requesttimeout=
 
 
 
 
 Douglas Brown
 Email: [EMAIL PROTECTED]
 - Original Message -
 From: Joel Blanchette [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, July 31, 2002 11:40 AM
 Subject: RE: CF 5 App crashing every 5 minutes...
 
 
  I have 1 cpu intel 850mhz
 
  I need the timeout high before some of our stats that go off at the 
  middle of the night takes a while to finish.  We are re-vamping the 
  stats system right now.  Hopefully this will be better in a couple of 
  weeks.
 
  I will change it to 5...
 
  How to I enable strict attribute validation?
 
 
 
  ==
  Joel Blanchette
  IT and System Specialist
  Point of Impact Technologies Inc.
  Tel: (204) 989-0013
  Email: [EMAIL PROTECTED] ==
 
 
  -Original Message-
  From: Douglas Brown [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 31, 2002 1:20 PM
  To: CF-Talk
  Subject: Re: CF 5 App crashing every 5 minutes...
 
 
  Limit simultaneous requests to : 10 how many cpu's?
  Timeout requests after : 900 s Kinda high dont ya think? 30 -
 60
  maybe
  Restart at   10 unresponsive requests - I would make this like 5
  Restart when requests terminate abnormally : on
  Suppress whitespace by default: on
 
 
  I would also enforce strict attribute validation.
 
 
 
 
  Douglas Brown
  Email: [EMAIL PROTECTED]
  - Original Message -
  From: Joel Blanchette [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Wednesday, July 31, 2002 11:07 AM
  Subject: RE: CF 5 App crashing every 5 minutes...
 
 
   Limit simultaneous requests to : 10
   Timeout requests after : 900 s
   Restart at   10 unresponsive requests
   Restart when requests terminate abnormally : on
   Suppress whitespace by default: on
  
   Template cache size:   1024 kilobytes
  
  
   Anything else?  Let me know where it would be in the menu and I will
   get it..
  
   Thanks for the help
  
  
  
   ==
   Joel Blanchette
   IT and System Specialist
   Point of Impact Technologies Inc.
   Tel: (204) 989-0013
   Email: [EMAIL PROTECTED] ==
  
  
   -Original Message-
   From: Douglas Brown [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, July 31, 2002 12:17 PM
   To: CF-Talk
   Subject: Re: CF 5 App crashing every 5 minutes...
  
  
   What settings do you have in Admin? Max number of threads
  etc...Template
   caching?
  
  
  
  
   Douglas Brown
   Email: [EMAIL PROTECTED]
   - 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

Re: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Douglas Brown

What settings do you have in Admin? Max number of threads etc...Template
caching?




Douglas Brown
Email: [EMAIL PROTECTED]
- 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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Paris Lundis

a few things to check that I have seen cause this:

1. Make sure your temp files are big enough for your OS
2. Make sure you have ample free disk available
3. If you have any access databases connected, take them all offline,
compact and repair and then bring them back online.

Those three items are often the route of the evil you are experiencing.

Any yes, more traffic means more caching, which means more swap/temp file
use.

-paris
Paris Lundis
Founder
Areaindex, L.L.C.
http://www.areaindex.com
http://www.pubcrawler.com
(p) 1-212-655-4477
[finding the future in the past, passing the future in the present]
[connecting people, places and things]


-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 1:17 PM
To: CF-Talk
Subject: Re: CF 5 App crashing every 5 minutes...


What settings do you have in Admin? Max number of threads etc...Template
caching?




Douglas Brown
Email: [EMAIL PROTECTED]
- 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]
 ==



__
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



Re: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Chris Norloff

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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Alex Hubner

The CFExecutive service is running? If not enable it to ensure your
CFServer service will be aways up.

This might be interesting also:

ColdFusion Server 4.5.x and 5: When the JVM is Loaded and a User Logs
Off Windows NT, ColdFusion Server Restarts 
http://www.macromedia.com/v1/Handlers/index.cfm?ID=21872Method=Full

Comments: if CFExecutive is not running or the CFServer is not set to
restart after a fail the service will hang forever (untill you start it
manually).

Good luck.
[]'s
Alex


-Original Message-
From: Joel Blanchette [mailto:[EMAIL PROTECTED]] 
Sent: 31/07/2002 2:07 PM
To: CF-Talk
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] ==


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Nathaniel Horwitz

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]
 ==




__
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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Paris Lundis

I would point out only that Joel's original message only said the site
started acting up when traffic was applied.. Not that anything had been
changed...

We probably are burying Joel with all our commentary

Please post the log info so we can check out the errors...

Have you ran administrative graphing monitors to see CPU usage, cold fusion
threading, etc? and can you tell us about the volume of traffic originally
and the amount of increase we are talking about?

-paris


-Original Message-
From: Nathaniel Horwitz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 1: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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Joel Blanchette

Limit simultaneous requests to : 10
Timeout requests after : 900 s
Restart at   10 unresponsive requests
Restart when requests terminate abnormally : on
Suppress whitespace by default: on

Template cache size:   1024 kilobytes


Anything else?  Let me know where it would be in the menu and I will get
it..

Thanks for the help

 
 
==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 12:17 PM
To: CF-Talk
Subject: Re: CF 5 App crashing every 5 minutes...


What settings do you have in Admin? Max number of threads etc...Template
caching?




Douglas Brown
Email: [EMAIL PROTECTED]
- 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] ==

 

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Joel Blanchette

Hello,

1. How doI change the temp file...How do I know there is enough??
2. I should have enough disk spaceI will clean a few things up just
in case
3. We are using MySQL  not access...:)

 
 
==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Paris Lundis [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 12:18 PM
To: CF-Talk
Subject: RE: CF 5 App crashing every 5 minutes...


a few things to check that I have seen cause this:

1. Make sure your temp files are big enough for your OS
2. Make sure you have ample free disk available
3. If you have any access databases connected, take them all offline,
compact and repair and then bring them back online.

Those three items are often the route of the evil you are experiencing.

Any yes, more traffic means more caching, which means more swap/temp
file use.

-paris
Paris Lundis
Founder
Areaindex, L.L.C.
http://www.areaindex.com
http://www.pubcrawler.com
(p) 1-212-655-4477
[finding the future in the past, passing the future in the present]
[connecting people, places and things]


-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 1:17 PM
To: CF-Talk
Subject: Re: CF 5 App crashing every 5 minutes...


What settings do you have in Admin? Max number of threads etc...Template
caching?




Douglas Brown
Email: [EMAIL PROTECTED]
- 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] ==




__
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



Re: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Douglas Brown

Limit simultaneous requests to : 10 how many cpu's?
Timeout requests after : 900 s Kinda high dont ya think? 30 - 60 maybe
Restart at   10 unresponsive requests - I would make this like 5
Restart when requests terminate abnormally : on
Suppress whitespace by default: on


I would also enforce strict attribute validation.




Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Joel Blanchette [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 11:07 AM
Subject: RE: CF 5 App crashing every 5 minutes...


 Limit simultaneous requests to : 10
 Timeout requests after : 900 s
 Restart at   10 unresponsive requests
 Restart when requests terminate abnormally : on
 Suppress whitespace by default: on

 Template cache size:   1024 kilobytes


 Anything else?  Let me know where it would be in the menu and I will get
 it..

 Thanks for the help



 ==
 Joel Blanchette
 IT and System Specialist
 Point of Impact Technologies Inc.
 Tel: (204) 989-0013
 Email: [EMAIL PROTECTED]
 ==


 -Original Message-
 From: Douglas Brown [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 31, 2002 12:17 PM
 To: CF-Talk
 Subject: Re: CF 5 App crashing every 5 minutes...


 What settings do you have in Admin? Max number of threads etc...Template
 caching?




 Douglas Brown
 Email: [EMAIL PROTECTED]
 - 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] ==
 
 

 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Craig Thomas

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)


If you are in fact using shared-scope variables, you could always check the
Single Threaded Sessions checkbox in CF admin under locking to test if
this is your problem without having to add cflock to find out.

-Craig

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Joel Blanchette

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] ==





__
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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Mike Brunt

Joel, I think this was touched on already if not it is important.  Look in
the Application and Server logs, search for the string thread.  If it is
there chase down the ColdFusion templates that are identified with that
string.  This means you do have shared scope variable corruption problems.
This will relate to Application, Server and Session scoped variables.

Kind Regards - Mike Brunt, CTO
Webapper
http://www.webapper.com
Downey CA Office
562.243.6255
AIM - webappermb

Webapper - Making the NET work


-Original Message-
From: Joel Blanchette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:08 AM
To: CF-Talk
Subject: RE: CF 5 App crashing every 5 minutes...


Limit simultaneous requests to : 10
Timeout requests after : 900 s
Restart at   10 unresponsive requests
Restart when requests terminate abnormally : on
Suppress whitespace by default: on

Template cache size:   1024 kilobytes


Anything else?  Let me know where it would be in the menu and I will get
it..

Thanks for the help



==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 12:17 PM
To: CF-Talk
Subject: Re: CF 5 App crashing every 5 minutes...


What settings do you have in Admin? Max number of threads etc...Template
caching?




Douglas Brown
Email: [EMAIL PROTECTED]
- 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] ==




__
Get the mailserver that powers this list at http://www.coolfusion.com
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



Re: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Douglas Brown

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] ==
 
 
 


 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Joel Blanchette

The monitors are looking ok to me...

 
 
==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Paris Lundis [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 12:48 PM
To: CF-Talk
Subject: RE: CF 5 App crashing every 5 minutes...


I would point out only that Joel's original message only said the site
started acting up when traffic was applied.. Not that anything had been
changed...

We probably are burying Joel with all our commentary

Please post the log info so we can check out the errors...

Have you ran administrative graphing monitors to see CPU usage, cold
fusion threading, etc? and can you tell us about the volume of traffic
originally and the amount of increase we are talking about?

-paris


-Original Message-
From: Nathaniel Horwitz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 1: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] ==






__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Joel Blanchette

The CFExecute is running.

On your comment you mean when I go to the services and I go to the
propertise and on the tab Rocovery.  I did put them to all restart the
service..But it did nothing to restart the service...it seems like the
service is still running but not accepting anything else...

 
 
==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 12:39 PM
To: CF-Talk
Subject: RE: CF 5 App crashing every 5 minutes...


The CFExecutive service is running? If not enable it to ensure your
CFServer service will be aways up.

This might be interesting also:

ColdFusion Server 4.5.x and 5: When the JVM is Loaded and a User Logs
Off Windows NT, ColdFusion Server Restarts 
http://www.macromedia.com/v1/Handlers/index.cfm?ID=21872Method=Full

Comments: if CFExecutive is not running or the CFServer is not set to
restart after a fail the service will hang forever (untill you start it
manually).

Good luck.
[]'s
Alex


-Original Message-
From: Joel Blanchette [mailto:[EMAIL PROTECTED]] 
Sent: 31/07/2002 2:07 PM
To: CF-Talk
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Douglas Brown

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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Chris Norloff

Simultaneous requests should generally be about 3 to 5 per processor. We use 5 per 
processor.

Timeout requests is how long you'll wait before assuming the request isn't coming back 
to ColdFusion. 900 seconds is about 104 days I think.  That's likely your freezing 
problem right there.

The restart value should be 80% of your maximum simultaneous threads.

Chris Norloff



-- Original Message --
from: Joel Blanchette [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Wed, 31 Jul 2002 13:07:35 -0500

Limit simultaneous requests to : 10
Timeout requests after : 900 s
Restart at   10 unresponsive requests
Restart when requests terminate abnormally : on
Suppress whitespace by default: on

Template cache size:   1024 kilobytes


Anything else?  Let me know where it would be in the menu and I will get
it..

Thanks for the help

 
 
==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 12:17 PM
To: CF-Talk
Subject: Re: CF 5 App crashing every 5 minutes...


What settings do you have in Admin? Max number of threads etc...Template
caching?




Douglas Brown
Email: [EMAIL PROTECTED]
- 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] ==

 


__
Get the mailserver that powers this list at http://www.coolfusion.com
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



RE: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Joel Blanchette

I have 1 cpu intel 850mhz

I need the timeout high before some of our stats that go off at the
middle of the night takes a while to finish.  We are re-vamping the
stats system right now.  Hopefully this will be better in a couple of
weeks.

I will change it to 5...

How to I enable strict attribute validation?

 
 
==
Joel Blanchette
IT and System Specialist
Point of Impact Technologies Inc.
Tel: (204) 989-0013
Email: [EMAIL PROTECTED]
==


-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 1:20 PM
To: CF-Talk
Subject: Re: CF 5 App crashing every 5 minutes...


Limit simultaneous requests to : 10 how many cpu's?
Timeout requests after : 900 s Kinda high dont ya think? 30 - 60
maybe
Restart at   10 unresponsive requests - I would make this like 5
Restart when requests terminate abnormally : on
Suppress whitespace by default: on


I would also enforce strict attribute validation.




Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Joel Blanchette [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 11:07 AM
Subject: RE: CF 5 App crashing every 5 minutes...


 Limit simultaneous requests to : 10
 Timeout requests after : 900 s
 Restart at   10 unresponsive requests
 Restart when requests terminate abnormally : on
 Suppress whitespace by default: on

 Template cache size:   1024 kilobytes


 Anything else?  Let me know where it would be in the menu and I will 
 get it..

 Thanks for the help



 ==
 Joel Blanchette
 IT and System Specialist
 Point of Impact Technologies Inc.
 Tel: (204) 989-0013
 Email: [EMAIL PROTECTED] ==


 -Original Message-
 From: Douglas Brown [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 31, 2002 12:17 PM
 To: CF-Talk
 Subject: Re: CF 5 App crashing every 5 minutes...


 What settings do you have in Admin? Max number of threads
etc...Template
 caching?




 Douglas Brown
 Email: [EMAIL PROTECTED]
 - 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] ==
 
 

 

__
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



Re: CF 5 App crashing every 5 minutes...

2002-07-31 Thread Douglas Brown

What version of CF are you using? If you are using 5 then it will be under
settings. As far as the time-out is concerned, I would set it to 30 and then
in the templates that you are talking about, you can use
requesttimeout= in your url variable.

IE:

http://www.yourserver.com?requesttimeout=




Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Joel Blanchette [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 11:40 AM
Subject: RE: CF 5 App crashing every 5 minutes...


 I have 1 cpu intel 850mhz

 I need the timeout high before some of our stats that go off at the
 middle of the night takes a while to finish.  We are re-vamping the
 stats system right now.  Hopefully this will be better in a couple of
 weeks.

 I will change it to 5...

 How to I enable strict attribute validation?



 ==
 Joel Blanchette
 IT and System Specialist
 Point of Impact Technologies Inc.
 Tel: (204) 989-0013
 Email: [EMAIL PROTECTED]
 ==


 -Original Message-
 From: Douglas Brown [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 31, 2002 1:20 PM
 To: CF-Talk
 Subject: Re: CF 5 App crashing every 5 minutes...


 Limit simultaneous requests to : 10 how many cpu's?
 Timeout requests after : 900 s Kinda high dont ya think? 30 - 60
 maybe
 Restart at   10 unresponsive requests - I would make this like 5
 Restart when requests terminate abnormally : on
 Suppress whitespace by default: on


 I would also enforce strict attribute validation.




 Douglas Brown
 Email: [EMAIL PROTECTED]
 - Original Message -
 From: Joel Blanchette [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, July 31, 2002 11:07 AM
 Subject: RE: CF 5 App crashing every 5 minutes...


  Limit simultaneous requests to : 10
  Timeout requests after : 900 s
  Restart at   10 unresponsive requests
  Restart when requests terminate abnormally : on
  Suppress whitespace by default: on
 
  Template cache size:   1024 kilobytes
 
 
  Anything else?  Let me know where it would be in the menu and I will
  get it..
 
  Thanks for the help
 
 
 
  ==
  Joel Blanchette
  IT and System Specialist
  Point of Impact Technologies Inc.
  Tel: (204) 989-0013
  Email: [EMAIL PROTECTED] ==
 
 
  -Original Message-
  From: Douglas Brown [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 31, 2002 12:17 PM
  To: CF-Talk
  Subject: Re: CF 5 App crashing every 5 minutes...
 
 
  What settings do you have in Admin? Max number of threads
 etc...Template
  caching?
 
 
 
 
  Douglas Brown
  Email: [EMAIL PROTECTED]
  - 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] ==
  
  
 
 

 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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