Re: Re: Scripts slowing down?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



René Leboeuf wrote:

> Per Jessen a écrit :
> 
>>>> They _all_ slow down after a while?  How many emails are you
>>>> sending in this way?
>>> Some of our mailing are +100.000 emails...
>> 
>> There is a possibility that your filesystem is having difficulties
>> dealing with that many files, escpecially if they are all in one
>> directory.  Which mailserver and which filesystem are you using?
> 
> This is sendmail 8.13.1 (RHEL4) on ext3. We consider moving to
> ReiserFS.
> 
> There are 50queues split on 5disks, but it is very rare to have more
> than a total of 3.000mails waiting in the queues.

That should not be a problem then.  I use postfix, and I've certainly
had up to 30.000 emails queued without any slow downs. 

It sounds like maybe you are back to what someone suggested - due to the
many emails (which is very suspect) you're delivering over SMTP, your
connection is being tarpitted or otherwise artificially slowed down. 

What I don't understand is how the same can apply if you just
use /usr/sbin/sendmail to deliver them.  That way they should just go
straight in the queue and nothing should be able to slow down that
process - it's just writing a file to disk after all. 

I would go back to using sendmail (instead of SMTP), and when the
slowdown begins, I would attach an strace to see what's really going
on. 


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux