Results 1 to 6 of 6

Thread: mediascanner-service-2.0 using large amounts of CPU

  1. #1
    Join Date
    Feb 2007
    Beans
    787
    Distro
    Ubuntu Development Release

    mediascanner-service-2.0 using large amounts of CPU

    HI

    Recently mediascanner-service-2.0 is consuming most of my CPU, seems to run constantly and creates massive log files in ~/.cache/upstart. (over 11Gb when I left it running while I was away!)

    I don't know what the problem is (I have recently installed a 3TB hard drive but there is not much on it, and the problem does not seem to have started at the time of installing)

    I can't find much on google to help (anything for that matter) and I don't seem to be able to kill the process. I have tried switching off logging in zeitgeist using the System Settings 'privacy and security' GUI to no avail.

    Can anyone point me at something which would allow me to prevent it from running at all, or in some way configure it to only look at my home directory, for example.


    Or indeed any help at all would be gratefully received!
    To err is human, but not uniquely so.

  2. #2
    Join Date
    Jun 2007
    Beans
    17,337

    Re: mediascanner-service-2.0 using large amounts of CPU

    Best way - (unless you have some use for it, it's Not on a default install
    Code:
    sudo apt-get purge mediascanner2.0 libmediascanner-2.0-0

  3. #3
    Join Date
    Feb 2007
    Beans
    787
    Distro
    Ubuntu Development Release

    Re: mediascanner-service-2.0 using large amounts of CPU

    Thanks, that has done the trick, I wonder how I ended up with it installed - don't remember manually installing it.

    I now have another problem, which is that something else appears to be using lots of cpu - perhaps I was mistaken in attributing the cpu usage to mediascanner. It was certainly using a lot, but I am still seeing lots of usage which htop can't account for.

    But that's for another thread, after a bit more digging.
    To err is human, but not uniquely so.

  4. #4
    Join Date
    Jun 2007
    Beans
    17,337

    Re: mediascanner-service-2.0 using large amounts of CPU

    Quote Originally Posted by ubername View Post
    Thanks, that has done the trick, I wonder how I ended up with it installed - don't remember manually installing it.

    I now have another problem, which is that something else appears to be using lots of cpu - perhaps I was mistaken in attributing the cpu usage to mediascanner. It was certainly using a lot, but I am still seeing lots of usage which htop can't account for.

    But that's for another thread, after a bit more digging.
    May have come in with some unity8 packages that have no real use in 14.04, check & see if unity8 is installed.
    If so then you can remove it & then CK. autoremove to see what else can go..

  5. #5
    Join Date
    Oct 2009
    Beans
    3

    Re: mediascanner-service-2.0 using large amounts of CPU

    I ran into this issue with the media scanner libraries as well today on 14.04.
    The library was frequently spiking briefly, and seemed triggering 'apport' to run at 100% of my processor speed according to htop.
    Following the above instructions and removing the libraries (and then rebooting), resolved the issue on my system.

    As to causes....
    I did an Ubuntu Software Update yesterday, uninstalled the 'pipelight' package, and I installed Clementine 1.2.3.
    I'm not sure which caused the change to the system that caused this error.

  6. #6
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: mediascanner-service-2.0 using large amounts of CPU

    If you have a current issue with 14.04 you need to post in the main forum - we moved onto 14.10 in here months ago

    closed

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •