SlackwareThis Forum is for the discussion of Slackware Linux.
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 been having an issue with gam_server taking up 100% of one of my CPU cores. I have searched around and have not come up with any definitive answers.
Some say it's NFS...............I don't run NFS.
Some say it's Firefox, if that's the case, time's that gam_server takes off, Firefox is not running.
Some say it is a Gnome issue...............I don't run Gnome.
Some say it is Xfce...............but it happens when I am not running Xfce. I'm running Fluxbox on 12.2
I cannot kill the process at all, not even as root, the only way to cure it is to reboot the box and that is not acceptable.
I understand that it is part of inotify......the only thing that I can think of is that I recently installed from SlackBuilds.org. libnotify, exo-notify and notification-daemon-xfce. I have a sneaky suspicion it is one of these????
Does anyone have a clue as to what it can be?? I'm stumped..........
I am not familiar with it but since it is a file alteration monitor system it must have to build it's baseline database. If this is a new behaviour then maybe it is still working it's way through your drive(s) to build that database???
If you do not use it, why is it running at all? Is it maybe part of an incomplete package?
What are you looking to do - can't you use inotify directly; say via inotify-tools
I'm not trying to do anything, it just randomly kicks in from what I can tell and hogs the CPU. In fact, I was just using mousepad a few moments ago to edit my fluxbox menu when I heard the CPU kick into overdrive. I ran top and 'lo and behold, 100% CPU usage from gam_server. I can't kill it at, either as user or root. All I can do is a reboot to kill the damn process.
Frustrating..........
EDIT:
Google "gam_server" and there is a ton of hits at what a problem this has been going back as far as 2004. Why am I seeing this issue now?
After doing some more digging around & experimenting, I have not had any issue with gam_server going off the charts.
At first I created a .gaminrc file in my ~ that contained the following:
Code:
fsset ext3 poll 10
fsset jfs poll 10
This did not appear to work so I then created a similar file in my /etc, although most of the recommendations were to put it in /etc/gamin but that does not exist in Slackware.
With the above, this tells gam_server to poll my filesystem every 10 seconds rather than what it was originally polling at.
Gamin website has a section which explains how to turn on the debug feature. Maybe you can try that and see what's causing the problem. There must be some application triggering this.
Regarding inotify, is it relevant in this setting? AFAIK it's the new notification system of the kernel that replaced dnotify and gamin is not part of it (nor the other way around).
Yeah some file managers use it, like emelfm2 (actually it can be configured to use d/inotify as well, but the script on slackbuils.org uses gamin I think).
Google "gam_server" and there is a ton of hits at what a problem this has been going back as far as 2004. Why am I seeing this issue now?
Well, here it is 2019 and I'm having trouble with gam_server hogging CPU on my workstation at work! Putting .gaminrc file in ~ didn't help, and I don't have permission to edit /etc.
The workstation runs RHEL 7.4 (Linux 3.10.0) and KDE 4.14.8.
Well, here it is 2019 and I'm having trouble with gam_server hogging CPU on my workstation at work! Putting .gaminrc file in ~ didn't help, and I don't have permission to edit /etc.
The workstation runs RHEL 7.4 (Linux 3.10.0) and KDE 4.14.8.
Ok, sorry, I found this thread when I googled gam_server, and I didn't even realize it's a Slackware thread. It does contain more and better information about gam_server than any other thread I found. So, if I'm having trouble with gam_server on RHEL, should I really go elsewhere and create a new thread that doesn't contain the useful background information that this thread has?
Ok, sorry, I found this thread when I googled gam_server, and I didn't even realize it's a Slackware thread. It does contain more and better information about gam_server than any other thread I found. So, if I'm having trouble with gam_server on RHEL, should I really go elsewhere and create a new thread that doesn't contain the useful background information that this thread has?
Dude, yes. We don't care about your RHEL issues, it only pollutes the discussions in this Slackware forum.
This thread is also 11 years old, what you did is called "necro-posting" (look it up) and frowned upon.
You also did not add anything of value. The "and I don't have permission to edit /etc" makes me think you are working on a corporate desktop, so go find your IT support desk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.