After running nicely for some time, my CFMX app is starting to mis-behave.
Its crashing with null null out of memory errors, having a very difficult
time starting up while under load (I'll explain this one in another post),
and is now failing to load some CFX libraries (cfx_ImsMail). So it looks
like I need to spend some time and give this app some TLC today.
Before I show you something that stands out as strange in my log file I
have a question about error processing. I have a custom error template set
in the cfadministrator. "/errortemplates/dsp_root_error_handling.cfm". This
page contains some very basic CFML> My application log file always shows
errors like this:
"Error","jrpp-430","06/28/04","08:26:16",,"Error thrown by site-wide
exception handler:"
"Error","jrpp-430","06/28/04","08:26:16",," The specific sequence of files
included or processed is:
C:\inetpub\wwwroot\errortemplates\dsp_root_error_handling.lf "
Does this mean that there is something wrong with my error handling
template, or is this normal?
-------------------------------------------------
Next, when I look through my logs, this stands out big time. Has anyone
seen anything like the errors logged below. There is about 20 of these in
my log file
"Error","scheduler-1","06/28/04","06:07:55",,"250-Welcome, 66.51.174.246
[66.51.174.246], pleased to meet you 250-AUTH=LOGIN 250-AUTH LOGIN 250-SIZE
5242880 250 HELP "
javax.mail.MessagingException: 250-Welcome, 66.51.174.246 [66.51.174.246],
pleased to meet you
250-AUTH=LOGIN
250-AUTH LOGIN
250-SIZE 5242880
250 HELP
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:765)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:674)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:947)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:912)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
"Error","scheduler-2","06/28/04","06:13:26",,"250-Welcome, 66.51.174.246
[66.51.174.246], pleased to meet you 250-AUTH=LOGIN 250-AUTH LOGIN 250-SIZE
5242880 250 HELP "
javax.mail.MessagingException: 250-Welcome, 66.51.174.246 [66.51.174.246],
pleased to meet you
250-AUTH=LOGIN
250-AUTH LOGIN
250-SIZE 5242880
250 HELP
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:765)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:674)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:947)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:912)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
"Error","scheduler-4","06/28/04","06:19:01",,"250-Welcome, 66.51.174.246
[66.51.174.246], pleased to meet you 250-AUTH=LOGIN 250-AUTH LOGIN 250-SIZE
5242880 250 HELP "
javax.mail.MessagingException: 250-Welcome, 66.51.174.246 [66.51.174.246],
pleased to meet you
250-AUTH=LOGIN
250-AUTH LOGIN
250-SIZE 5242880
250 HELP
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:765)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:674)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:947)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:912)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
"Error","scheduler-2","06/28/04","06:23:53",,"250-Welcome, 66.51.174.246
[66.51.174.246], pleased to meet you 250-AUTH=LOGIN 250-AUTH LOGIN 250-SIZE
5242880 250 HELP "
javax.mail.MessagingException: 250-Welcome, 66.51.174.246 [66.51.174.246],
pleased to meet you
250-AUTH=LOGIN
250-AUTH LOGIN
250-SIZE 5242880
250 HELP
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:765)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:674)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:947)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:912)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
"Error","scheduler-2","06/28/04","06:24:24",,"The ColdFusion mail spool
encountered an invalid spool file in the spool directory. The invalid file
was Mail25883.cfmail. This file was moved to the undelivered directory."
coldfusion.mail.MailSpooler$InvalidSpoolFileException: The ColdFusion mail
spool encountered an invalid spool file in the spool directory.
at coldfusion.mail.MailSpooler.processFile(MailSpooler.java:1585)
at coldfusion.mail.MailSpooler.retrieveSpoolMail(MailSpooler.java:1538)
at coldfusion.mail.MailSpooler.access$400(MailSpooler.java:45)
at coldfusion.mail.MailSpooler$SpoolerSoftCache.fetch(MailSpooler.java:1893)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.mail.MailSpooler.retrieveMail(MailSpooler.java:1442)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:666)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:947)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:912)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
------------------
Anyhow, I'm going to continue to go through the log files and find out what
the heck is going on. Thanks for any insights and assistance, this list is
a god sent.
One thing that I can't figure out, is why when I start up my app, it will
essentially fail to start if it is under load. If I add some conditional
code to the application.cfm template to abort all processing except that
coming from my IP, it will start up okay (still takes too long though). But
if it is under load, the number of running requests just grows and grows
and the app fails to initailize and threads start timing out all over the
place.
I do have a large chunk of initialization code and data being loaded into
application vars. I have tried to get this to run only once, by using
CFLOCK, but have not been able to get this to work 100% although the log
shows that this initialization code IS only running twice at the
most. Other applications on the same CF Server start up fine, even while
this app is just spinning away and not returning jack. I'll post more about
this in another thread also.
Sorry to dump all of this to the list, I'm going to try to refine my posts
throughout the day as I investigate and learn more. I'm getting tired of
being woken up by my pager though....
Brook Davies
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

