[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 87857] Selecting an email and pressing delete is unnessarily
From: Oded Arbel <oded () geek ! co ! il>
Date: 2006-03-23 11:06:00
Message-ID: 20060323110600.2350.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=87857
oded geek co il changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oded geek co il
------- Additional Comments From oded geek co il 2006-03-23 12:05 -------
Indeed, but this also happens for locally stored email (under the "Local Folders" \
tree). Specifically, when deleting large amounts of email this is unbearably slow, \
and during the process the entire kmail window is unresponsive - a "wait" cursor is \
show and the screen does not repaint except for a flicker in the status panel.
I actually encountered this problem when I notices that my trash folder has over \
15000 messages in it. When I tried to delete it kmail got stuck for more then 10 \
minutes until I killed it. I then proceeded to delete the mail manually from the \
maildir folder. During the time it was trying to delete, I straced and ltraced the \
process and it looked to me that it was taking its sweet time - something like 2 or 3 \
seconds for each message deleted.
When trying to reproduce the problem I couldn't get kmail to be that slow, but in my \
tests kmail deletes only a few dozens messages a second (in a P3-1000). In that rate, \
a mail folder of several thousands messages (such as my trash folder about a few \
months without cleaning) will take over 10 minutes to clear, the whole time kmail is \
unresponsive (I usually take the time to make coffee ;-).
Here is what I did to reproduce this:
- shutdown kmail
- make sure that at least 1 message is in the local trash folder.
- cd $HOME/.kde/share/apps/kmail/mail/trash/cur
- run this script to duplicate one of the message:
perl -le 'sub randChar { $out .= (a..z,A..Z)[int(rand()*52)] while length($out) < 5; \
$out;} for (1..10000) { print time().".".int(10000*rand()).".".randChar();}' | xargs \
-L1 ln -f <mail message to duplicate>
- start kmail, go to the local trash folder and instruct kmail to "empty trash".
- time it (a wall clock should be just fine - its very slow).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic