I recently upgraded my PC to Ubuntu 17.04 (about a month ago) and so far, I really like it. There's just one issue which keeps happening (3 times so far) that is getting REALLY annoying, and I just don't understand why it's happening.
This only seems to happen when I have a relatively large number of tasks running (ex: 3 tabs of StackOverflow + 2 tabs of Youtube in Firefox, 5 Java projects in Eclipse, and a terminal window), and only after about 3 hours of continuously running Firefox.
Things Get Weird:
Then, the following happens:
Firefox stops responding to any form of input, and the window turns grayscale, indicating an unresponsive process.
I attempt to close the window, which takes about 3 minutes longer than usual, and only after I right-click the icon on the taskbar & click "Quit"
I double-click the taskbar icon to reopen Firefox, only to have the icon flash for 5 minutes, before deciding not to open at all.
I open a new terminal window, which takes about 5 times longer than it usually does, and I run
topto see what's causing the hold-up.
At the top of
top, I see an entry for "firefox", started by my user, occupying 99-100% of processor resources.
I hit Ctrl+C to quit
top, and run
kill [PID], where
[PID]represents the process's PID listed in the left column of
topagain, only to find that "firefox" still isn't dead, and is still taxing my computer's resources.
I hit Ctrl+C again, and try
kill -9 [PID], which I'm told should always work in situations like this.
topagain, only to find that "firefox" STILL WON'T DIE.
At this point, the taxing the process is doing on my CPU will have made my system practically unusable, eventually making the entire system unresponsive (to the point that Ctrl+Alt+T won't even bring up the terminal anymore), and I'm forced to unplug my computer from the wall, and reboot it.
I don't know what's going on, and from what I know, it shouldn't even be possible for a Firefox process to survive
kill -9, and I really do appreciate any help all of you can give me in preventing this problem from continuing.
<Note>: I apologize in advance if this turns out to be a dumb question. I've only been using linux on a daily basis for about a year now, so I'm still relatively new to a lot of this (but I look forward to learning).
I was just now working in Eclipse, downloading a new software package, when the same thing happened to Eclipse, ruling out Firefox as the problem.