Announcement

Collapse
No announcement yet.

kmail using insane amount of CPU cycles.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kmail using insane amount of CPU cycles.

    Hi all

    This relates to Kubuntu 13.04. It is a clean install into a clean /home folder. When I launch kmail the CPU usage of the virtuoso-t process increases by a huge amount.

    I have an i5 laptop and the usage of that process before kmail is launched is below 1% a few moments after kmail is launched the process usage shoots up to 150%+ (so atleast one and a half cores are being maxed by the virtuoso-t process...). If this settled after a few hours it would be ok, but it doesn't seem to settle down and there is no clear way of seeing what is being done or if it is only a zombied thread inside virtuoso.

    Being a laptop this of course completely destroys battery life. The sad thing is that I mainly use the laptop for email (due to it being mobile) while on the road and as such needs the auto complete of contact's email address and the semantic features.

    Is there a way to determine if this process is indeed zombified and looping or if it is actually indexing the email. But what confuses me is why would nepomuk only want to index emails when kmail is open? Surely it has access to the local email headers in the same way kmail has??

    Kind regards,

    George

    #2
    I don't have the KMail installed so I can't say if these are working...


    The KDE Forum has a thead: virtuoso-t uses up huge CPU? ( https://forum.kde.org/viewtopic.php?f=63&t=92886) The 'szob' is writing ( https://forum.kde.org/viewtopic.php?...92886&start=15 ):

    ...Things settled down again after suspending the file indexing. So, I decided to re-enable mail message indexing to have the search function in KMail. Lo and behold, the Nepomuk did not put any overload on the system. I was able to use KMail without any delays.

    So, to sum it up, I raised the RAM for Nepomuk virtouso-t process to 512Mb and suspended file indexing (instead of disabling it). Now, the system is stable, the CPU graph is flat like a line and I can finally focus on what I want to do, not on the tool itself...
    An older bug report ( https://bugs.kde.org/show_bug.cgi?id=246678 ) has a link to How to debug the nepomuk virtuososo CPU usage : http://kdeatopensuse.wordpress.com/2...sos-cpu-usage/
    Last edited by Rog131; May 12, 2013, 11:03 AM.
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Hmm, I use Kmail all the time through Kontact. Right now I'd recommend maybe turning the indexing of emails off and then re-enabling them again after the 4.10.3 update trickles in. Hmm, you should maybe also try enabling disconnected imap.

      Comment


        #4
        Thanks a lot for the replies, I will do as suggested and report back.

        Comment


          #5
          Ok, found the following workaround:

          In gmail I moved all the emails in my 'Inbox' to the 'Archive' folder. This basically moves them to your gmail 'All Mail' folder. I have a Blackberry and BIS needs the 'All Mail' folder to be visible to IMAP for it to work (else I would have just not made the 'All Mail' folder visible in the gmail settings to IMAP at all )

          Then within kmail I disabled indexing on the 'All Mail' folder - I wasn't aware that this could be done per folder inside kmail, pretty cool feature...

          So perhaps nepomuk was just choking on the 18 000+ email headers in my 'Inbox' when kmail started (still a bug though as it should only attempt to index any folder / data when the machine is idle (i.e. no user input in last 5 minutes or so and the machine is NOT on battery power ).

          Comment

          Working...
          X