Version: (using KDE KDE 3.5.7) Installed from: SuSE RPMs With the enterprise version KMail seems to (re-)scan all folders on every startup (local folders, no IMAP). At least the system goes down for quite some time (>15 min for me) with full disk activity and a lot of kio_file processes. Folder by folder over the time get their size set. Interaction with the system is very annoying. Before upgrading from an older (>1 month) openSUSE package things worked alright.
KMail in trunk also has the folder size feature, but I don't see such problems there. There are one or two DirectorySizeJobsstarted, but nothing more. Only the size of sent-mail, outbox and inbox is calculated at startup, not sure if that is different in enterprise. CC'ng Till, as I think he wrote that feature.
SVN commit 766899 by kloecker: Added a queuing mechanism to prevent several KDirSize jobs from running concurrently when several maildir folders are checked for their size. CCBUGS: 149414 M +52 -8 kmfoldermaildir.cpp M +6 -0 kmfoldermaildir.h WebSVN link: http://websvn.kde.org/?view=rev&revision=766899
SVN commit 766900 by kloecker: Merged revision 766899 from the enterprise branch Added a queuing mechanism to prevent several KDirSize jobs from running concurrently when several maildir folders are checked for their size. CCBUGS: 149414 M +52 -8 kmfoldermaildir.cpp M +6 -0 kmfoldermaildir.h WebSVN link: http://websvn.kde.org/?view=rev&revision=766900
SVN commit 770314 by kloecker: Forward ported revision 766899 from the KDE 3 enterprise branch Added a queuing mechanism to prevent several KDirSize jobs from running concurrently when several maildir folders are checked for their size. CCBUGS: 149414 M +55 -8 kmfoldermaildir.cpp M +7 -0 kmfoldermaildir.h WebSVN link: http://websvn.kde.org/?view=rev&revision=770314
Fixed in KDE 3.5 enterprise branch, KDE 3.5 proper branch, and trunk.