Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello.
I have the unfortunate problem that my computer is slowing down the longer I leave it on.
My current uptime is 1 day and seven hours, and my processor usage is 99%. Any ideas on why this could be happening? htop shows that X, opera (my browser), and amarok are taking the most oompf from the cpu, but they weren't that processor hungry a day and seven hours ago.
X is relatively light on resources, i have trouble thinking its X's problem. Other programs that use X, however, can cause it to eat more and more resources, firefox comes to mind (just a example). Look for the programs that are using the most memory, because it sounds much like a memory leak to me.
Try killing off each of these program in turn to see if there is a single culprit. I've had problems with both amarok and firefox in the past hoging a lot of resources.
I've got a similar problem. these days my max uptime is a day or two, where I was in the habit of leaving this box going for a month or two between reboots (and even then the reboots were usually caused by me needing to check that everything started up correctly after some change to a service).
In this respect, I agree with the other posters; it is most likely to be a memory leak problem. In my case, I can see Opera eating more and more memory as time goes on. Just in case you think its specifically an Opera problem, I've also tried with konqueror and firefox and get the same results, it just takes a bit more time. Equally, akregator seems to have quite a memory footprint and that is probably making matters worse, but I have to read RSS feeds somehow.
In fact, if I use ksysguard I can actually see the memory in use growing, albeit quite slowly. Equally, once it has gone 'bad', I see lots of hard disk activity as it tries, unsuccessfully, to swap its way to freedom.
My guess is that somewhere in the underlying libraries I have a memory leak, and this is a library that has been upgraded in an update process. Now, if I knew which one...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.