Re: Re: Scripts slowing down?

From: Date: Sun, 18 May 2008 08:08:04 +0000
Subject: Re: Re: Scripts slowing down?
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-274481@lists.php.net to get a copy of this message
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

« previous php.general (#274481) next »