Hi all, I've run into a problem that hasn't reared...
# cfml-general
s
Hi all, I've run into a problem that hasn't reared its ugly head in a very long time... the ColdFusion mail spooler getting stuck. I remember having problems with this all the time back in the days of CF8, but this is a 2016 box running Standard. So, I'm sending out around 50,000 emails. This has worked without issue for years, but yesterday I changed mail server and now, after sending around 5,000 mails, the spooler service simply stops sending. No errors, no logs, etc. If I restart the ColdFusion service, the spooler begins to work again, but crucially, if I restart the spooler service itself via the service factory, it has no effect whatsoever. Obviously the mail server change must have had some effect, and I'd love to know what that is - but I'm stuck with it. No errors that side either. So, can anyone tell me: a) Why a reboot of ColdFusion works, but a restart of the
mailSpoolService
has no effect? b) Why the spooler is getting stuck in the first place and what bearing the mail server has on that? c) Any other workarouds? Thanks
m
So CF Standard has a max number of threads it can keep open for mail (and async stuff) and it is possible the server is timing out? Were there other changes to the server? Higher load? Do you have FusionReactor?
s
No other changes to the server at all, no... No changes to load either. The only difference is the default mailserver settings in the administrator. I do have FusionReactor running on that box, but not sure what to look for in there.
p
Many mail servers have a limit to the number of emails or recipients that can be sent to in a certain period from a given connection, for example 5,000 recipients in a 24 hour period. This is to reduce spam / DDOS problems. Restarting the CF Service may refresh the connection and make it appear new to the mail server.
Many mail servers have a limit to the number of emails or recipients that can be sent to in a certain period from a given connection, for example 5,000 recipients in a 24 hour period. This is to reduce spam / DDOS problems. Restarting the CF Service will refresh the connection and make it appear new to the mail server.