← Back to team overview

touch-packages team mailing list archive

[Bug 1237065] Re: mediascanner consumes a lot of cpu for a long time

 

** Project changed: mediascanner2 => mediascanner2 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1237065

Title:
  mediascanner consumes a lot of cpu for a long time

Status in mediascanner2 package in Ubuntu:
  Confirmed

Bug description:
  Image #83 on mako. 
  I have the following content on my device:-

  phablet@ubuntu-phablet:~$ find Music/ | wc -l
  114
  phablet@ubuntu-phablet:~$ find Videos/ | wc -l
  9

  mediascanner is eating cpu:-

  top - 20:47:14 up 10 min,  1 user,  load average: 2.05, 1.95, 1.18
  Tasks: 218 total,   1 running, 216 sleeping,   1 stopped,   0 zombie
  %Cpu(s): 25.1 us,  0.3 sy,  0.0 ni, 74.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
  KiB Mem:   1916236 total,  1021212 used,   895024 free,    13320 buffers
  KiB Swap:   524284 total,        0 used,   524284 free,   650988 cached

    PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
   2274 phablet   20   0  210m  22m  15m S  98.3  1.2   9:58.54 mediascanner-se   
   3066 phablet   20   0  4396 1124  740 R   1.3  0.1   0:00.16 top               
    710 root       0 -20  6576  564  416 S   1.0  0.0   0:06.64 mpdecision        
      4 root      20   0     0    0    0 S   0.3  0.0   0:00.96 kworker/0:0       
    793 root      20   0     0    0    0 S   0.3  0.0   0:00.44 kworker/1:1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1237065/+subscriptions