Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail() sending slowly

Status
Not open for further replies.

Niclov

Programmer
Jun 28, 2001
45
CA
Hi, not sure whether this is a PHP problem or a mail server problem, but when I use the mail() function to send email messages the browser viewing the page appears almost to stall (though you can see the status bar at the bottom move extremely slowly) until the message is sent. This is taking about four minutes for just one message! The server with sendmail on it doesn't seem to be taxxed by the message, the CPU and memory usages stay almost constant through the entire process. Any idea why it's taking so long to send?

I'm using Caldera Openlinux 2.2 (2.2.14 kernal)
PHP 4.0.5
Sendmail 8.9.3
on a P-133 with 64MB of RAM

Any ideas would be much appreciated
 
how's ure mem usage? and what connection to the internet u have and isnt ure mailmessage too long and do u make an endless loop somewhere? mcvdmvs
mick@nederland.net

knows: html, JavaScript, dhtml, css, php, mysql, postgresql, xml, linux
to learn: java, c++, perl, python
 
Mem usages goes up from 56M used to 57M, that's with 63M total. My Internet connection is DSL speed, and though my message is rather long, short ones have a delay as well, not as long though. I'm pretty sure it's not an endless loop, since there isn't one contained in the mailing portion of the script, which is the only section with problems.

-Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top