I am having a machine that with no clear reason just freezes and i have to do restart before getting everything going again. Is there a way to log the cpu and RAM usage to enable me to check which processes used the most cpu and ram at the point before the machine freezes. I think one of my programs just start using all the cpu available. Do you know about a problem in Mysql using up all cpu available?
If you haven't changed anything and this just suddenly started then I'd be looking at hardware not software. Even with a fullyloaded system you shouldn't get freezes for no reason. Nothing is listed in /var/log/messages?
If you do what to try to find out whats going on with your processes you can always run something like
'top' of course gives you a running view of every processes RAM and processor usage. If the freezes happen with enough warning, you may also want a terminal running with:
tail -f /var/log/messages
Honestly if its a sudden hard freeze, that's typically a hardware issue: dead fans, bad memory, etc.
I had a problem that sounds something like that. In my case the
browser just ate up the whole RAM and swap until everything
- well not really crashed - but it took about 3 minutes just to get
a shell up to kill the browser.
If you running KDE or Gnome try to run a systemmonitor in the
taskbar that shows what is going on with your memory.
I had problems with that also.
In my case, it was a bad memory card. It would work on boot testing, but once Linux started trying to use it, BAM! Freeze.
|All times are GMT -5. The time now is 02:56 PM.|