Page 1 of 1

KDE Memory issue?

Posted: Sun Oct 04, 2015 2:19 pm
by toomanyquestions
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...

Re: KDE Memory issue?

Posted: Sun Oct 04, 2015 9:25 pm
by MtnDewManiac
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

Re: KDE Memory issue?

Posted: Sun Oct 04, 2015 9:56 pm
by toomanyquestions
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. :(

Re: KDE Memory issue?

Posted: Mon Oct 05, 2015 7:06 pm
by jungle_boy
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.

Re: KDE Memory issue?

Posted: Tue Oct 06, 2015 8:28 pm
by lmuserx4849
# 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.