[Bug 294700] New: knotify4 memory hog 20 GB

peter.maloney at brockmann-consult.de peter.maloney at brockmann-consult.de
Thu Feb 23 16:36:29 GMT 2012


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

           Summary: knotify4 memory hog 20 GB
           Product: kde
           Version: 4.6
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: peter.maloney at brockmann-consult.de


Version:           4.6 (using KDE 4.6.5) 
OS:                Linux

I was away from my computer; when I returned, my system was going slow, due to
massive swapping. knotify4 was using 20 GB of memory, and 83% of a CPU. Killing
it fixed the problem. This is the first time it happened. Kopete and Dolphin
are the only things I use that I think do anything with knotify, unless also
removable disks do something. This machine has 24 GB of memory, (probably) in
tri channel mode. A week ago it had 16 GB (probably) in single channel mode.

About 20 minutes before this happened, the last thing I did was hook up 4 disks
in a zpool (with the software from here rather than fuse:
https://launchpad.net/~fai/+archive/ppa) and import the pool. I have done this
before, and it caused no issues. This time, the first 2 disks showed up (with
their GPT labels rather than zpool name) in the removable media thing in the
KDE systray (or whatever it is called in KDE) before I had all disks hooked up
so the pool could be imported.

Here is some output from "top" (probably sorted by CPU):

top - 12:48:36 up 20:10, 13 users,  load average: 2.71, 1.79, 1.24
Tasks: 275 total,   2 running, 272 sleeping,   0 stopped,   1 zombie
Cpu(s): 10.8%us,  0.8%sy,  0.0%ni, 85.9%id,  2.4%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  24733728k total, 23202140k used,  1531588k free,     1912k buffers
Swap:  4194300k total,  2684688k used,  1509612k free,    54636k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2237 peter     20   0 22.6g  20g 3324 R   81 85.0  37:14.33 knotify4
 2706 peter     20   0  830m 113m  10m S    6  0.5   9:29.58 firefox
 8860 peter     20   0 1420m 849m 839m S    5  3.5  13:04.62 VirtualBox
 1105 root      20   0  200m  18m 1676 S    1  0.1   9:42.41 Xorg
 2240 peter     20   0  818m  18m 6020 S    1  0.1  10:32.49 plasma-desktop
 2543 peter     20   0  475m 6964 3996 S    1  0.0   0:45.72 VirtualBox

Here is the output from "free":
             total       used       free     shared    buffers     cached
Mem:      24733728   24605980     127748          0       1612      39088
-/+ buffers/cache:   24565280     168448
Swap:      4194300    2709512    1484788

# knotify4 -v
Qt: 4.7.2
KDE Development Platform: 4.6.5 (4.6.5)
KNotify: 4.0

Attached is a screenshot of 'System Activity' sorted by memory (after hitting
ctrl+esc).

Sorry for having no really useful information on debugging this... 

Reproducible: Didn't try

Steps to Reproduce:
I have no idea how to reproduce it. I wasn't doing anything special today.


Expected Results:  
I guess knotify4 normally uses 27 MB of memory. 

from top:
14121 peter     20   0  637m  27m  17m S    2  0.1   0:23.72 knotify4

The above is after I killed knotify4 via pid, but did not manually restart it.
I guess it restarted itself.

I tried to reproduce it:

This time, the removable media icon turns to a blue "!" instead of the other
white symbol, and shows 3 disks instead of 4. If I click "show hidden devices"
I see all 4. (I don't know what it did about disk 3 and 4 before)

Then I imported my zpool. Then wrote some files to it. Then waited from
14:11:00 until now 17:35:00, and it is still working fine.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list