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.
Processes are not closing, but instead accumulating and taking CPU to 100% I really need help figuring this one out. I'm running Gentoo and I've recently upgraded and also started running KVM.
It is NOT normal for multiple copies of mythbackend to be running. That is the problem. Myth is executing tasks over time,and the tasks are not completely dying off as they should. They linger on and start eating up CPU.
Currently in System Monitor I see:
4 processes labeled apache2 running
4 processes of dbus-daemon running
3 processes of kjournald, etc.
Daily I have been going in and stopping mythbackend correctly /etc/init.d/mythbackend stop and then executing a kill signal to kill off the bogus or zombie processes which never completely died with pkill mythbackend
Then for me to exit the terminal window I used to execute the pkill commands, I can't just type exit. Instead I have to type pkill gnome-terminal. If I simply type exit it runs on in the background chewing up all my CPU.
What I can't figure out is some programs exit correctly but others do not. Some processes which close correctly are gcalc and openoffice.
The worst offender is gnome-terminal which will crush my CPU.
Any help would be GREATLY appreciated. I don't know what to do next with this problem other than to rebuild my system which is painful.
Is it possible myth has a bug? Is it the latest update? Is it happening to other progs even if myth isn't running at all?
Can you add your distro and version to your profile so people know what you've got?
I went in and shut down as many services and tasks as I could and unloaded most of the modules to help isolate this. I stopped mythtv, kvm_amd, etc.
However the problem still remains. If I open a single gnome-terminal window everything is fine. However when I close that window, CPU ramps up to 100% as seen through gnome-system-monitor
As soon as I execute pkill gnome-terminal CPU returns to normal <5%
I'm running Gentoo with Gnome 2.24.1
Below are more details on my configuration. Let me know what else you might be looking for?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.