Wednesday, October 28, 2009

Strange Problem with Cold Fusion

I get to work on Cold fusion sometimes. I just wanted to state a strange problem we had faced recently. This was not the case since the day it was set up. The service started sending duplicate emails whenever a email is sent from cold fusion code all of a sudden.


Not all emails were duplicating but some of them did. While researching on the issue, from the log found that multiuple threads trying to send the same email


The log entry was like this

"Information","scheduler-1","10/27/09","16:05:20",,"Mail: 'New request in Queue'
From:'webmaster@myweb.com' To:'myemail@myweb.com' was successfully sent using [IP]"

"Information","scheduler-3","10/27/09","16:05:20",,"Mail: 'New request in Queue' From:'webmaster@myweb.com' To:'myemail@myweb.com' was successfully sent using [IP]"

One of the setting on cold fusion administrator site allows us to set maximum delivery threads. By default this will be set to 10. Just updated this to 1 and monitored for sometimes. This seems to be fixed the problem. Strange bug!!!!


Reference: http://www.talkingtree.com/blog/index.cfm/2006/2/1/Duplicate-Message-ID-identifiers

1 comment: