Ask a Question related to Coldfusion Server Administration, Design and Development.
-
sromanski #1
Mail in CF7 is slow
Within the administrator I have set the spool interval to 10 seconds. However
it takes a good 20/30 seconds for the message to come through. There is no
major activity on the SMTP gateway and my CF5 server email go through much
faster on the same SMTP gateway. Does anyone have any ideas? Is there a way
to have an email send out instantly like a lot of PHP application seem to do?
sromanski Guest
-
[PHP] PHP mail() fonction - Slow? Alternative?
* Thus wrote Stéphane Paquay (s.paquay@blue4you.be): The odds are pretty high that it is your sendmail configuration. Internally all php does is... -
#24846 [Opn->Bgs]: IMAP Mail functions are extremely slow
ID: 24846 Updated by: iliaa@php.net Reported By: gremlinx at speed-city dot com -Status: Open +Status: ... -
#24846 [Opn->Fbk]: IMAP Mail functions are extremely slow
ID: 24846 Updated by: wez@php.net Reported By: gremlinx at speed-city dot com -Status: Open +Status: ... -
#24846 [Bgs->Opn]: IMAP Mail functions are extremely slow
ID: 24846 User updated by: gremlinx at speed-city dot com Reported By: gremlinx at speed-city dot com -Status: Bogus... -
#24846 [Opn]: IMAP Mail functions are extremely slow
ID: 24846 User updated by: gremlinx at speed-city dot com Reported By: gremlinx at speed-city dot com Status: Open... -
Steven Erat #2
Re: Mail in CF7 is slow
sromanski wrote:
Trace a few SMTP connections using the Ethereal Network analyzer. There> Within the administrator I have set the spool interval to 10 seconds. However
> it takes a good 20/30 seconds for the message to come through. There is no
> major activity on the SMTP gateway and my CF5 server email go through much
> faster on the same SMTP gateway. Does anyone have any ideas? Is there a way
> to have an email send out instantly like a lot of PHP application seem to do?
>
you can watch the packets go by with timestamps. You'll be able to see
exactly how long it takes for CF to connect to SMTP server and send all
the data.
You want to measure the time from when you run the cfmail code to the
time you see the corresponding SMTP connection. Easier done with with
just 1 mail message and not on a heavy production machine sending a lot
of mail. Then measure the time to send the data and close the TCP
connection. Finally measure the time from when the SMTP TCP connection
is closed until the time your mail client received it. That will break
the problem into 3 parts.
Finally, try telnetting to the SMTP server manually and compare the time
it takes to connect, send, and get the message there.
[url]http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=629A7181-45A6-2844-7E229DE8153E361C[/url]
--
Steven Erat
Senior Server Support Engineer
Advanced Certified ColdFusion Developer
Red Hat Linux Certified Technician
Macromedia
Steven Erat Guest



Reply With Quote

