Timo Sirainen wrote:
On Mon, 2008-05-05 at 17:46 -0700, David Jonas wrote:
Anyway, this fixes the problem: http://hg.dovecot.org/dovecot-1.1/rev/b776f2b8d827 Well, it looked good but pop3 processes started accumulating and pretty soon the load was over 50. No errors were getting logged. strace showed some processes waiting for disk and others being served their mail. IO-wait was bouncing off 100%.
I don't think that patch has the ability to cause such a large performance problem.
Sounds more like Dovecot is recalculating virtual message sizes for existing files. It should have looked up the values from dovecot.index.cache files though. Or did you delete them?
I didn't delete any files. Switching back to 1.0.2 (after some major cujoling) it's now running at a fine clip under load 1.
I'll try it again. Perhaps it was a freak coincidence.