KDE Memory issue?

Forum rules
Before you post please read how to get help
Post Reply
toomanyquestions
Level 2
Level 2
Posts: 69
Joined: Sat Feb 06, 2010 12:02 pm

KDE Memory issue?

Post by toomanyquestions » Sun Oct 04, 2015 2:19 pm

Has any one had trouble with 17.2 KDE suddenly abandoning Memory in favor of Swap (1 gig+ > 450 mb Mem & 0% > 10% Swap). Naturally the result is something approaching a OS freeze: the mouse takes seconds to move, a browser window takes minutes to minimize, & the radiotray stream begins skipping like an old record. I've had this happen a few times over the last 24 hours - all while browsing the web via Firefox. Any ideas? I'm wondering if I picked up a white tiger linux virus, or maybe one of my memory units died? I'm going to run a memtest shortly. Oh yes, does the program "kwin_killer" sound familiar to anyone (I believe I saw it pop up in Conky).

Edit: mem test looked good after one time through. I'm now wondering if my troubles are the result of an OS/DE problem...

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1456
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: KDE Memory issue?

Post by MtnDewManiac » Sun Oct 04, 2015 9:25 pm

toomanyquestions wrote:does the program "kwin_killer" sound familiar to anyone (I believe I saw it pop up in Conky).
IIRC, that's KDE trying to kill a "misbehaving" application. Did you have, say, 400 web pages loaded in separate tabs in Firefox, lol? And do you run something like NoScript to automatically block the many, many scripts that just about every website under the sun attempts to run on YOUR computer without asking these days? If the answers to the previous two questions are no and yes, respectively, than IDK. Have you tried killing Conky when it happens :roll: ?

I'm guessing it was a run-away web script. But that is based on nothing other than lots and lots of ignorance sweetened by a smidgen of experience :wink: .

I hope you're running something like NoScript. If not, I hope you're not web-browsing the Internet (or, at the very least, doing so on a completely sanitized computer which is connected to someone else's WiFi (to help neuter the actively malicious scripts), upon which you make random and ridiculous searches/page visits/form choices/et cetera at least half the time (to screw with the data-miners and other scripts which are merely indirectly harmful)....

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

toomanyquestions
Level 2
Level 2
Posts: 69
Joined: Sat Feb 06, 2010 12:02 pm

Re: KDE Memory issue?

Post by toomanyquestions » Sun Oct 04, 2015 9:56 pm

MtnDewManiac wrote:
toomanyquestions wrote:does the program "kwin_killer" sound familiar to anyone (I believe I saw it pop up in Conky).
IIRC, that's KDE trying to kill a "misbehaving" application. Did you have, say, 400 web pages loaded in separate tabs in Firefox, lol? And do you run something like NoScript to automatically block the many, many scripts that just about every website under the sun attempts to run on YOUR computer without asking these days? If the answers to the previous two questions are no and yes, respectively, than IDK. Have you tried killing Conky when it happens :roll: ?

I'm guessing it was a run-away web script. But that is based on nothing other than lots and lots of ignorance sweetened by a smidgen of experience :wink: .

I hope you're running something like NoScript. If not, I hope you're not web-browsing the Internet (or, at the very least, doing so on a completely sanitized computer which is connected to someone else's WiFi (to help neuter the actively malicious scripts), upon which you make random and ridiculous searches/page visits/form choices/et cetera at least half the time (to screw with the data-miners and other scripts which are merely indirectly harmful)....

Regards,
MDM
Thanks for your response! Sadly I don't use no script, I guess I should.

I don't think I had more than six tabs open when the computer began acting strangely. However, the other day, for the first time since I can remember, Conky reported memory usage was at 5 gig + (the system usually runs at 1-2.5 gig). In that instance there was a misbehaving script. Yesterday and today the computer didn't seem sluggish until the almost-fatal moment. :(

User avatar
jungle_boy
Level 7
Level 7
Posts: 1715
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest Land

Re: KDE Memory issue?

Post by jungle_boy » Mon Oct 05, 2015 7:06 pm

toomanyquestions;
I have been having problems with firefox because it is very CPU-hungry. Open the terminal and start the program top, look who's using your CPU; Firefox comes to use 150% of all CPU, I switched to Midori and is better.
Try another browser, Midori, for example.
Del Inspiron 5480, Quad-core, Core I5 8th Gen, Geforce MX 150,
LM 19.2 Cinnamon

lmuserx4849

Re: KDE Memory issue?

Post by lmuserx4849 » Tue Oct 06, 2015 8:28 pm

# Show top memory process
ps -e -opmem,rss,vsz,pcpu,pid,ppid,user,cmd --sort -rss | head -11 |
awk '{if ($1 != 0 ) printf "%4s %10s %10s %6s %6s %6s %-10s %-15s\n", $1,$2,$3,$4,$5,$6,$7,$8 }'

or Alt-F2 ---> Click Show System Activity (Make sure "All Processes" is shown in the upper-right

Firefox is always number one or two.

I did a locate on kwin_killer. It showed up in /usr/lib/kde4/libexec/kwin_killer_helper. I then did a /usr/lib/kde4/libexec/kwin_killer_helper --help. Then some
googling. kwin-killer seems to be involved in non-responsive applications. If you alt-tab do you see any message boxes that say an application is not responding and do you want to kill or continue...., maybe it's hidden under some windows.

If you narrowed it down to firefox as the causer and not a victim, about:support has some helpful information. I'd watch what you are doing in FF very closely for a few days to see if you can see what is the trigger. Is it the number of tabs or a particular site... I'd also check plugins and change them all to "ask to activate" or even never. There was just an update for firefox on LM today.

Post Reply

Return to “KDE”