[Dovecot] 100% CPU utilisation

Timo Sirainen tss at iki.fi
Tue Sep 7 17:37:52 EEST 2004


On 6.9.2004, at 17:44, Mark E. Mallett wrote:

>> Probably because one of the lines in it is larger then 4096 bytes?
>> Header parser doesn't really like that. I should get that fixed in
>> 1.0-tests..
>
> Are you talking physical line length, or actual header line length
> (including continuation lines)?  I guess strictly speaking you
> aren't supposed to see a physical line length of 4096 bytes, but
> even so, that's a low limit.

When a physical line is larger than what fits into input buffer it 
breaks. I think most MTAs don't allow lines that long, so this isn't 
too much of a problem.

Anyway, here's finally a fix:

http://dovecot.org/patches/dovecot-large-header-fix.diff

Note that with mboxes those large header lines seem to be deleted while 
mbox is being rewritten. With 1.0-tests this doesn't happen.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040907/d87f91df/PGP.pgp


More information about the dovecot mailing list