Actually there was a bug with the mail spooler in 4.5, that I am told was 
fixed in SP2, that caused this behavior.

It would only happen when you had a single template that executed more than 
one cfmail in the same template, via a loop or just more than one instance 
of the tag.  Our experience with this bug was we could easily recreate it 
but it wasn't as consistent as you have described. It seemed to very on 
several factors... All based around the filesystem on the drive and the 
relative access times to the spool directory.

 From our own diagnosis, we found that the spooler appeared to be single 
threaded in its filesystem writes to the spool directory. CF would begin to 
write one file, then try to write another before it closed the first. We 
would usually see 0k spool files in the spooler.  Before SP1 the spooler 
would then lock when it encountered the 0k file thus requiring a restart of 
the service to resume mail operations.

Allaire never responded to us what the cause was, but 3 months into the 
call tag, they did admit they could finally recreate the problem and that 
it would be addressed in SP2.  I have no idea if it was, as we long since 
moved away from our CF spooler problems and use a different product to 
spool all of our webserver generated mail.

It was our opinion that Allaire had little intention of correcting the 
problem or packaging a robust enough spooler to meet our needs.  We did 
suggest that there wasn't enough disparity between Pro and ENT, and perhaps 
the ENT package should include a fully functional multi-threaded smtp 
relay.  I suggest checking out aspmail or moving back to 4.1 :(


Don't know if it helps, but thought I would share.

PS. We were able to send out hundreds of thousands of emails a day using 
single instances of cfmail tags, this bug only happens with more than one 
tag, and it seemed the length of the email, or the inclusion of an 
attachment greatly increased the likelihood of it happening.


At 08:21 PM 3/7/2001 -0800, you wrote:

> >i send out over 48,000 at a time in lots of 8,000. it takes less than 4
> >minutes to spool each (24 minutes for all of them) lot of 8000 out. in
>fact,
> >i *just* sent out 48,000 last night and another 48,000 this morning.
>
>Do you loop through them or use a query parameter?
>
>---> I use CFLOOP.
>
> >i don't have a clear answer to your problem, but i'm running CF4.5.1SP2 on
> >NT4.0SP5 and don't have any problems with it, so i don't think it's CF.
>
>I ran a couple small tests on NT and didn't have the problem.
>
>---> So maybe it's something about running on 98?
>
> >1) does CF on your 98 machine talk to the mail server OK in the
> >administrator?
>
>Sure. In fact, the first 2 mails go fine, then it hangs on the 3rd
>one. I never had any problems with 4.1. I'm stuck using my ISP's mail
>server so I can't test using a different one from home.
>
>--->What is their mail server?
>
> >2) just for kicks, put the content of the mail ("test") on its own line
> >(line break after the opening CFMAIL tag). don't know if it will work, but
> >that's just what i would try first.
>
>Same result.
>
>--->Sometimes wierd things work. Worth ruling them out. :)
>
>--
>
>Bud Schneehagen - Tropical Web Creations
>
>_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>ColdFusion Solutions / eCommerce Development
>[EMAIL PROTECTED]
>http://www.twcreations.com/
>954.721.3452
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to