After doing some debugging, my JVM_BIND issue seems like CF's java
process ran out of file handles (however you describe them on
windows.... sockets, etc)...
I suspect there is a leak in error handling of CFMail which can forget
to close socket resources obtained in the mail thread.... If I had to
guess, there's no finally{ close connections... } in the mail spool
thread, if there is an exception in the connect method. The reason I
say this, is because right before my JVM_BIND (no more available
connections / max connections reached) exceptions were thrown, I saw
TONS of the excerpted log snippets below. (and I suspect the exception
was thrown after obtaining some sort of socket resource, and not giving
it back).
Is there any way to ask Macromedia from this list?
"Error","scheduler-0","11/30/04","04:53:36",,"Could not connect to SMTP
host: localhost, port: 25; nested exception is:
java.net.BindException: Address already in use: connect"
javax.mail.MessagingException: Could not connect to SMTP host:
localhost, port: 25;
nested exception is:
java.net.BindException: Address already in use: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867)
at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
at javax.mail.Service.connect(Service.java:234)
at coldfusion.mail.MailSpooler.getConnection(MailSpooler.java:871)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:744)
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)
-dov
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185649
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