| Author |
mail() takes a long time
|
|
| Karl Groves 2006-06-03, 7:15 pm |
| I have a client who is on a shared host (FreeBSD, Apache, MySQL, PHP) who,
for some reason takes what looks like 30-40 seconds to send a *very* simple
message via mail(). This same script takes about 1 second per message on
my machine. Does anyone have any idea where I can look for why this
happens?
--
Karl Groves
www.karlcore.com
| |
| William Tasso 2006-06-03, 7:15 pm |
| Fleeing from the madness of the jungle
Karl Groves <karl@NOSPAMkarlcore.com> stumbled into news:alt.www.webmaster
and said:
> I have a client who is on a shared host (FreeBSD, Apache, MySQL, PHP)
> who,
> for some reason takes what looks like 30-40 seconds to send a *very*
> simple
> message via mail(). This same script takes about 1 second per message on
> my machine. Does anyone have any idea where I can look for why this
> happens?
hrmm - something not receiving a timely answer & timing out?
Did you use exactly the same headers and login credentials to send as your
client?
--
William Tasso
http://williamtasso.com/words/what-is-usenet.asp
| |
| Karl Groves 2006-06-03, 7:15 pm |
| "William Tasso" <SpamBlocked@tbdata.com> wrote in
news:op.tahklgu1m9g4qz-wnt@tbdata.com:
> Fleeing from the madness of the jungle
> Karl Groves <karl@NOSPAMkarlcore.com> stumbled into
> news:alt.www.webmaster and said:
>
>
> hrmm - something not receiving a timely answer & timing out?
>
> Did you use exactly the same headers and login credentials to send as
> your client?
>
Everything is exactly the same, except several configuration options on the
servers! LOL. That's where I think I need to begin looking next. I believe
there's something different about their sendmail. I've actually tried this
on 3 different LAMP servers and all ran quickly but theirs. UGH
--
Karl Groves
www.karlcore.com
| |
| Brian Wakem 2006-06-03, 7:15 pm |
| Karl Groves wrote:
> "William Tasso" <SpamBlocked@tbdata.com> wrote in
> news:op.tahklgu1m9g4qz-wnt@tbdata.com:
>
>
> Everything is exactly the same, except several configuration options on
> the
> servers! LOL. That's where I think I need to begin looking next. I
> believe
> there's something different about their sendmail. I've actually tried
> this on 3 different LAMP servers and all ran quickly but theirs. UGH
Slow DNS lookup?
Try a different DNS server.
--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
| |
| Toby Inkster 2006-06-03, 7:15 pm |
| Karl Groves wrote:
> I have a client who is on a shared host (FreeBSD, Apache, MySQL, PHP) who,
> for some reason takes what looks like 30-40 seconds to send a *very* simple
> message via mail().
Is their php.ini set up to send mail through /usr/bin/sendmail or through
TCP/IP to some remote SMTP server? The second way will be slower, but
still shouldn't take *that* long.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
| |
| Karl Groves 2006-06-03, 7:15 pm |
| Toby Inkster <usenet200605@tobyinkster.co.uk> wrote in
news:2085l3-cdj.ln1@ophelia.g5n.co.uk:
> Karl Groves wrote:
>
>
> Is their php.ini set up to send mail through /usr/bin/sendmail or
> through TCP/IP to some remote SMTP server? The second way will be
> slower, but still shouldn't take *that* long.
>
Entry is '/usr/sbin/sendmail -t -i'
--
Karl Groves
www.karlcore.com
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |