LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-23-2006, 11:02 PM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283
Blog Entries: 11

Rep: Reputation: 41
My KMail is getting very slow


I have KMail 1.9.1. My mail is POP.

I have SpamAssassin filtering my incoming mail.

While all my mail folders have grown significantly (the spam folder has over 3900 messages), KMail has become gradually very slow. It's slow not only for downloads, but for simple actions like deleting a message or moving it (sometimes moving a message to another folder can take one minute). There are moments when, apparently, some process ends and KMail is able to behave normally, like before.

The rest of KDE has a decent performance, as usual.

When I switch to KMail, my recently installed Ksensors shows a sudden increase in the CPU status, with "user" raising from about 3% to 80% and "system" from 0.8% to 20%.

Here is the output of hdparm /dev/hda

Quote:
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 117210240, start = 0
I will appreciate some hints about this performance problem.
I followed the advice on the KMail manual about how to optimize my filters, but that did not make any difference.
I suspect that SpamAssassin could be the main culprit but, why does KMail bog down long after the messages were downloaded from the server?
 
Old 10-24-2006, 01:05 AM   #2
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
What format is you mail stored in ? Maildir or mbox ?

You might wanna google around a bit on this. There are several articles on the web that present a detailed comparison between the two.
 
Old 10-24-2006, 09:17 AM   #3
operator10001
Member
 
Registered: Mar 2006
Distribution: debian sarge
Posts: 222

Rep: Reputation: 30
i recommend switching to mozilla
 
Old 10-24-2006, 01:48 PM   #4
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Thank you both for your reply. The default format of KMail is Maildir. I'll look into the differences and will post again.

Switching to another mail client is certainly an option. I like Firebird, but for the moment I like the integration that Kontact gives me, and the fact that I can synchronize with a PDA; I don't think Mozilla Firebird gives me synchronization options currently (correct me if I'm wrong).

Before I switch, I would like to find out if there are ways to optimize KMail (I worked on my filters already).
 
Old 10-24-2006, 10:02 PM   #5
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Problem solved

OK, here is what I did wrong: I did not compact my folders on a periodical basis. The ghosts of the deleted and moved messages persist until you compact the folders (purge them). That adds an unnecessary weight to the program, thus slowing it down.

I should have RTFM and learned this simple rule: compact the folders frequently.

It took me a few seconds and now KMail behaves well, just like before.
 
Old 10-25-2006, 09:21 AM   #6
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Errata

By the way, on my second post on this thread I typed "Firebird". I meant THUNDERBIRD. I apologize for that. I like that client a lot, and I feel tempted to switch. But as I said, I got used to KMail (so simple and totally integrated with the rest). Anyway, thanks for bearing with me, folks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
Cannot import old PC KMail files into new KMail engineerwell Linux - General 1 03-11-2006 05:20 PM
Cannot import old PC KMail files into new KMail engineerwell Linux - General 1 03-11-2006 05:21 AM
Kmail - how to get it to see old Kmail folders? pseudofilosofen SUSE / openSUSE 1 04-19-2005 05:52 AM
Kmail - how to get it to see old Kmail folders? pseudofilosofen SUSE / openSUSE 1 04-18-2005 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration