CF5/linux problem

2002-07-15 Thread Terry Ford

Hey folks,

I'm encountering a strange problem that maybe some of you have run into before.

Config: CF5, linux 7.2, Apache/CF5 EAPI module, mysql

I have one template that runs many times a minute.  However, under cfstat, a thread 
running this 
template seems to hang somewhat randomly -- every few hours or so. Under cfstat it is 
listed as a
running request.  What happens is that 10 such requests over time end up running and CF
grinds to a halt.  The template timeout of 45 seconds is ignored.  My current solution 
is to
cron-restart httpd every 12 hours -- not a pretty solution.

The strange part: the template does NOT seem to be caught in a loop.  If I restart 
Apache,
these infinitely-running threads disappear, and I get server.log entries:

Warning,TID=11275,07/15/02,07:42:05,Template: /template.cfm, Ran: 5258 
seconds.
Error,TID=8200,07/15/02,07:42:06,Unable to write reply -- client browser 
stopped waiting for request. 

If I create a new template with an intentional loop and run it, restarting Apache does 
not remove the thread
from the running list.

So, it SEEMS to me that CF is done with the template but that Apache is doing 
something weird.
Maybe?  

Does anyone have any experience or ideas?  I'm not entirely sure how to debug this one.

Thanks,
Terry


__
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: CF5/linux problem

2002-07-15 Thread Bill Wheatley

:) I used to have the same problem I tried running CF in debug mode with GDB
attached to see the dumps but it just wasn't working right. We never did
figure out what was wrong completely but I did have to do the cron restarts
as well as you. Hopefully on CF-LINUX list Jesse n. can help you out a bit
more then I can.



Bill Wheatley
Senior Database Developer
Macromedia Certified Advanced Coldfusion Developer
EDIETS.COM
954.360.9022 X159
ICQ 417645
- Original Message -
From: Terry Ford [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 9:11 AM
Subject: CF5/linux problem


 Hey folks,

 I'm encountering a strange problem that maybe some of you have run into
before.

 Config: CF5, linux 7.2, Apache/CF5 EAPI module, mysql

 I have one template that runs many times a minute.  However, under cfstat,
a thread running this
 template seems to hang somewhat randomly -- every few hours or so. Under
cfstat it is listed as a
 running request.  What happens is that 10 such requests over time end up
running and CF
 grinds to a halt.  The template timeout of 45 seconds is ignored.  My
current solution is to
 cron-restart httpd every 12 hours -- not a pretty solution.

 The strange part: the template does NOT seem to be caught in a loop.  If I
restart Apache,
 these infinitely-running threads disappear, and I get server.log entries:

 Warning,TID=11275,07/15/02,07:42:05,Template: /template.cfm, Ran:
5258 seconds.
 Error,TID=8200,07/15/02,07:42:06,Unable to write reply -- client
browser stopped waiting for request. 

 If I create a new template with an intentional loop and run it, restarting
Apache does not remove the thread
 from the running list.

 So, it SEEMS to me that CF is done with the template but that Apache is
doing something weird.
 Maybe?

 Does anyone have any experience or ideas?  I'm not entirely sure how to
debug this one.

 Thanks,
 Terry


 
__
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