[Kde-pim] [PATCH] Queue KDirSize jobs for maildir folder

Ingo Klöcker kloecker at kde.org
Sat Jan 26 17:35:24 GMT 2008


Hi,

the attached patch fixes the problem that KMail starts KDirSize jobs for 
all maildir folders at the same time flooding the system with hundreds 
of kio_file processes (if you have a lot maildir folders) effectively 
bringing the system down to a crawl (cf. my mail from October [1]).

I have added a queuing mechanism to prevent several KDirSize jobs from 
running concurrently. With the patch KMail performs very well here 
although it determines the size of hundreds of maildir folders some of 
which contain several ten thousand messages.

IIRC then there's a corresponding Bugzilla entry. Thomas?


Regards,
Ingo

[1] http://lists.kde.org/?t=119317872900001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: queueDirSizeJobsForMaildirFolders-2008-01-26-ik.diff
Type: text/x-diff
Size: 3763 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080126/9e3c3c62/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080126/9e3c3c62/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list