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.
I have noticed a process under Mandrake/Mandriva 10.2 called "gam_server".
It consumes an unusually high amount of CPU time in regular, huge
spikes/intervals. Over time, it uses more and more. If you kill it, it
just comes right back! I have confirmation that others have seen this on
their machines, too. I have not seen it on my laptop, though.
Others, using FC 3 have also complained about it.
After much research, I still have no useful answers. "Gamin" is a "fam"
service replacement. It seems to allow applications to watch certain
files for changes and get notified of the changes. I remember Mandrake <
10.2 offering "fam" as an actual system service, which I always left off,
anyway. I think FC3, 10.2, and other distros are switching to gamin, and,
unlike fam, it does not act like a init.d service.
Since it is annoying me, using valuable resources, seems to have no real
purpose, don't know which applications might use it, has no man page or
docs, and I can't even find out why it is acting the way it is, I traced
it down to a binary and zapped it.
It lives as a binary file in /usr/lib/gam_server
So I renamed it to /usr/lib/gam_server.hold which effectively breaks it.
(BTW- binary commands and services should not live in /usr/lib, although
after snooping, I see others, too.)
Disabling this thing seems to have had no negative effects on my system.
I thought it might cause problems for file managers knowing when files
appear and disappear, but it doesn't.
Did you manage to note it's process priority before you killed it? Generally things like gam_server run at a low priority which means that they generally only use CPU time when nothing else is using it.
No, I didn't notice it's priority, but this is on a machine running Seti all the time at nice -20. I run ksysguard CPU monitor, which displays nice processes as yellow, so the background is always yellow (seti). The gam_server process is clearly visible as blue (I think) spikes every 20 or 30 seconds.
The longer gam_server runs on my system, the longer the spikes become... it is quite noticable at times, slowing the system down. If it is killed, it will restart and use much, much less CPU time for many hours and then slowly start using more and more again.
On Sat, 30 Apr 2005 07:54:26 -0400 (EDT)
Jerry wrote:
> On Sat, April 30, 2005 12:22 am, crxssi said:
>
> > Well, I certainly hope they will fix the thing so it doesn't consume so
> > much CPU time!
>>
> I don't know i it's just drake or what
Nope, there are reports on other distros also
> but I run famd on my mail server
> and it seems not to eat up much cpu at all. Also I've knoticed at least
> with my config of curiour-imap famd isn't required but it makes imap and
> webmail slower if it's not used.
I have had my laptop up for long periods (9+days) and I have not seen any CPU used by gam_server. I don't have a large enough sample yet... 4 computers, 2 desktops are eating CPU, two laptops are not. Since gamin doesn't provide ANY status info, proc interface, logs, anything, there is no way for me to determine what it is doing, what is using it, or what could be "wrong".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.