On 7/5/05, Connie DeCinko <[EMAIL PROTECTED]> wrote:
> Also check for a hung outgoing email message.  This was a big problem in
> CF5.  Or a zero length email.
> 

ColdFusion 4.5.1 SP2, specifically, had the problem where memory
corruption (usually traced back to no locking or improper locking of
shared scope variables) led to leaked file handles from CFMAIL.  The
mail/spool directory would have one or more 0 byte email messages
there and other good mail queued up behind it chronologically.   The
CPU would flat line at 100% indefinitely.

CF5 *fixed* that problem, but another similar one was introduced where
the mail files were partially written (usually 1k byte) and would
cause the CPU to race at 80-90% instead of flat line at 100%.  So
while zero byte mail files would just be deleted, this new 1k mail
file problem would produce the same end result (a failing CF server)
but with slightly different symptoms.

The original cause in both of these was attributed to sources of
memory corruption (i.e. unlocked shared scope vars), and the
leaked/invalid mail file was considered a secondary effect.

For the "Request canceled or ignored by server Server busy or unable
to fulfill request"  error I would look for bottlenecks in the
application by turning on "Log Slow Pages" and then watch the
server.log for entries, and enable "Restart after X Unresponsive
Requests" and enable a low timeout (15,30,or 60 seconds).  Watch the
server.log for this type of entry too (any page exceeding the timeout
will be logged as such in server.log, i.e. 'the unresponsive request
count is up to 1').

Bumping up Sim Reqs haphazardly is not a solution.  Identify and fix
bottlenecks instead.

-- 
Steven Erat
http://www.talkingtree.com/blog/
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211171
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to