Bug 190932

Summary: kmail continously indexes in the background, making it UNUSABLE
Product: [Applications] kmail Reporter: Joe Biden <mailinglist>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Joe Biden 2009-04-28 18:20:51 UTC
Version:            (using KDE 4.2.2)
Installed from:    Ubuntu Packages

Kmail hangs almost as soon as it starts. Behavior only started after upgrade to 4.2.2

http://www.linux-archive.org/debian-kde/279914-kmail-kde-4-2-2-indexing-again-again.html
explains the situation, but to repost:
From time to time, kmail eats up CPU, Disk I/O and memory while it seems to go
through all emails (~25.000 and ~4,5 GB). Started from konsole, kmail outputs
lines like:

kmail(6098)/kmail (storage internals) KMFolderMaildir::getDwString:
KDE_fopen(abs_file=
"/usr/oms/Mail/.MailingLists.directory/Andere/cur/1239002674.5913.zKNVK:2,S" ,
"r+") == stream == 0x9ae7668
kmail(6098)/kmail (storage internals) KMFolderMaildir::getDwString:
fclose(mIndexStream = 0x9ae7668 )
kmail(6098)/kmail (storage internals) KMFolderMaildir::getDwString:
KDE_fopen(abs_file=
"/usr/oms/Mail/.MailingLists.directory/Andere/cur/1239009776.5913.15eQ9:2,S" ,
"r+") == stream == 0x9a2c7a0
kmail(6098)/kmail (storage internals) KMFolderMaildir::getDwString:
fclose(mIndexStream = 0x9a2c7a0 )


I already stopped kmail, removed all index files, started again. Kmail than
rebuilds the index files - that's what i expect. after a few minutes pausing,
kmail seems to start again... pausing... starting...etc.
Comment 1 Joe Biden 2009-05-02 14:20:45 UTC
I left kmail open and indexing for 8 hours straight. Now it doesn't do it anymore.
Comment 2 Björn Ruberg 2010-02-24 02:06:17 UTC
I'm not sure what the bug is you want to report. If kmail wants to index again and again on each start, that is a bug. But you wrote, it stopped it, after a long time. So may be you want to say that indexing is too slow?
Comment 3 Joe Biden 2010-02-24 03:27:18 UTC
Apologies. Seems fixed in the new 4.4 version.