The first thing is to look at the processes that are consuming more CPU
/ Memory resources during freezing. Whenever you feel that the system is
getting hung / frozen, Can you please open the terminal and issue some
performance gathering commands like top, vmstat etc...If you need,I can
suggest the following commands,

1. top

2. vmstat 2 5

3. mpstat 2 5 && mpstat -P ALL 2 5 (for individual CPU utilization
statistics if you have multiple processors)

4. free

5. ps -e -o pcpu,vsz,user,pid,ppid,args|grep COMMAND|grep -v grep;ps -e
-o pcpu,vsz,user,pid,ppid,args|sort -rn|head -10 (To get the Top-10
processes sorted by high CPU Utilization)

6. ps -e -o vsz,pcpu,user,pid,ppid,args|grep COMMAND|grep -v grep;ps -e
-o vsz,pcpu,user,pid,ppid,args|sort -rn|head -10 (To get the Top-10
processes sorted by high Virtual Memory Utilization)


If you can gather these outputs, you can figure out where the system is 
spending huge amount of resources...This will help finding the culprit :-)

Note: If you don't have any of these utilities installed, you can always
install them using "sudo apt-get install sysstat".

-- 
System random freeze, using ubuntu karmic and jaunty on acer 5738G
https://bugs.launchpad.net/bugs/489360
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to