https://bugs.kde.org/show_bug.cgi?id=371829

            Bug ID: 371829
           Summary: mediaframe reading files even after all plasmoids
                    where removed
           Product: kdeplasma-addons
           Version: 5.8.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: General
          Assignee: plasma-b...@kde.org
          Reporter: luizl...@gmail.com
  Target Milestone: ---

Hello,

I'm using plasma5-addons-5.8.2-1.1.x86_64 from OpenSUSE Tumbleweed.

I noticed that my plasma was eating CPU and with strace -e "read,open" -p
$(pidof plasmashell), I checked that it was frequently opening and reading the
media I used in the mediaframe. The problem is that it keeps doing that even
after the plasmoid was removed. As I added/removed the plasmoid a bunch of
times, plasma was openning and reading the same media files a bunch of times
per second!

This is the frequency of each syscall during a few seconds monitoring:

3 mmap
3 munmap
4 access
5 write
16 lstat
23 ioctl
35 statfs
70 getdents
90 writev
270 fcntl
305 close
306 open
577 fstat
804 lseek
2825 stat
5107 read
16926 recvmsg
17230 poll
33774 futex

read and open are almost exclusively generated by mediaframe (and probably
others).

As a workaround, I moved the files, which might generate a read error and
somehow stopped the loop process. My cpu usage, then, reduced from 160% to 40%.

BTW, it would be nice to have mediaframe on bugzilla components list

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to