In my ubuntu 12.04 system, I faced this problem many times that my mouse pointer get stuck to its position, doesn't move anywhere, all other things works fine except the pointer and I had to restart my system to fix this. How can I fix this so that next time I don't have to restart my system?
2 Answers
As per the comments in the question: this is the explanation:
When a lot of apps are opened, they would require more memory than the physical RAM of the system. This would prompt the system to use the swap partition, and write the "unrequired" data out on the swap (on disk). Now, if a lot of, or most of the apps are active, then the unrequired memory is very low, and in reality, the system keeps writing stuff to swap, takes it out and writes something else, and take it out again, and writes something else on swap. This would go on, and no real processing would happen. This situation would be indicated by a lot of disk activity (observable through iotop
, or the constantly on LED for disk on the laptop).
The remedy for this is to get bigger RAM if you really want to use so many apps in general. Otherwise just be aware that hardware has some limitations and open just lesser number of apps in the system simultaneously.
If you must use so many apps at once, then try a lightweight ubuntu edition like Lubuntu or Xubuntu.
This answer is open ended, with a possibility of a google search for "techniques to reduce memory consumption of ubuntu".

- 2,466
-
ok..thanks for such a usefull information...and i have found another article with same problem http://askubuntu.com/questions/128265/mouse-pointer-touchpad-getting-stuck-often-in-12-04?rq=1 , where i found to use (ctrl+alt+f2 and then ctrl+alt+f7) as a solution, so m waiting for my mouse to get stuck again... – Rahul Singh Feb 04 '14 at 05:28
I found that answer given here https://askubuntu.com/a/184852/239257 works for me.
Step 1. CTRL+ALT+F2
Step 2. CTRL+ALT+F7
and problem solved!

- 121
- 6
top
in a terminal, is any process consuming a lot of cpu? – Bhavin Doshi Feb 03 '14 at 15:53