Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


LinkBack Search this Thread
Old 09-23-2004, 10:52 AM   #1
LQ Newbie
Registered: Aug 2003
Location: Somewhere between silicone and silicon valley.
Distribution: OpenSUSE, Mint, Fedora, Ubuntu
Posts: 17

Rep: Reputation: 0

What does the service gam_server process do?

I left my Fedora Core 3 machine logged in last night with the desktop locked. When I came in this morning I noticed my cpu utilization was at 100% and then it dropped off to normal immediately after I unlocked the workstation. I ran a netstat -tap and saw a connection closing the process was gam_server and the remote connection was and so I did a tracert to it and dig and then opened a web browser to it and it was a Google page. Just wondering what my machine is doing connecting to Google overnight when I didn't even have a browser open.

Any information would be much appreciated.


Old 09-23-2004, 12:12 PM   #2
Registered: Aug 2004
Posts: 44

Rep: Reputation: 15
gam_server is the binary fo gamin (see It's a sgi_fam replacement for file alternation monitoring. I'm not sure how it is started on FC3, but I'd assume you can configure whether or not to run it w/ chkconfig and xinetd.

Your CPU was most likely at 100% because of the screen saver. This often happens w/ my FC2 desktop when the screen saver comes on.

As to your connection to Google, it was most likely not gam_server but an old connection from a web browser -- sometimes connections don't fully close themselves. But, to be safe, I'd download rkhunter and test our your system.
Old 09-23-2004, 12:28 PM   #3
LQ Newbie
Registered: Aug 2003
Location: Somewhere between silicone and silicon valley.
Distribution: OpenSUSE, Mint, Fedora, Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
The connection to google was definately from the process gam_server according to netstat. Here is the results:

tcp 1 0 CLOSE_WAIT 23328/gam_server

I will try the rkhunter. I will let you know how that goes. thanks for the response.
Old 11-10-2004, 10:22 AM   #4
Registered: Jan 2004
Location: Denmark
Distribution: Fedora Core 6
Posts: 224

Rep: Reputation: 30
I've got the same problem, but without screensaver. I can see with top that gam_server uses more than 95% of my XP 2700+ processor. What's wrong?
Old 04-12-2005, 07:13 PM   #5
Registered: Apr 2004
Location: TN
Distribution: Only used RH but have heard good things about Mandrake. BSD might be interesting.
Posts: 46

Rep: Reputation: 15
ditto. i'm seeing 97% cpu with top. no screensaver. i have an open office doc up and a badblock command is running (i guess). what starts this thing. if it is controlled by xinetd, it doesn't have an entry in your services. locate lists it as a subdir of libexec or something like that (on FC3).

i'm wondering what started it and is it legitimate or should i kill it. prefer to know what it is first.
Old 04-20-2005, 07:37 PM   #6
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Rep: Reputation: 15
Same story here.
CPU at 99% with no letup. This is mad.
top shows gam_server at > 70% all the time.

What the heck???

I just killed Firefox (1.0.1) and the CPU chilled.
gam_server just stopped running.

Dunno what this means...

Last edited by Bigglesworth; 04-20-2005 at 07:52 PM.
Old 04-23-2005, 01:06 PM   #7
LQ Newbie
Registered: Mar 2005
Posts: 23

Rep: Reputation: 15
Just woke up and my screensaver was running really slow... checked top and noticed all the same stuff you guys noticed, with gam_server hitting the top of the list at like 99% CPU usage. Apparently, it's a known issue .

As a short-term solution, I've had no problems just killing the process with a 'killall gam_server' .
Old 04-27-2005, 10:37 AM   #8
LQ Newbie
Registered: Apr 2005
Distribution: Various RHEL & Fedora
Posts: 1

Rep: Reputation: 0
Possible Solution

The bugzilla report at redhat

Gives a reasonable rundown of what is likely going on, and the 99th comment suggests installing the development rpm of gamin. I've done that for the only person here who seemed to be having a real problem with gam_server cpu usage and it looks good so far...

The upgrade can be got from

Note that if you are having problems when having large/complex filesystems under the /mnt or /media mount points then gam_server is likely to always have problems due to the way the kernel is implemented.


Old 04-27-2005, 11:57 PM   #9
LQ Newbie
Registered: Mar 2005
Posts: 23

Rep: Reputation: 15
Well, in my case, I do have about four NFS filesystems mounted. My /home directory isn't NFS (I've learned my lesson with that); however, I have created a "/home/private/[username]" NFS mount to which I sym-link choice directories into my userdir(s).

Am I just asking for it? (Or do NFS and gamin inherently not get along?)
Old 06-01-2007, 12:48 PM   #10
LQ Newbie
Registered: Mar 2007
Posts: 6

Rep: Reputation: 0
Smile How does one get rid of gam_server

Running Redhat enterprise server Linux.

Have run our server for perhaps years at a time without problems - upgrade kernels all the time - then came gam_server.

How do I safely get rid of gam_server permanently?????



Last edited by andyholland; 06-08-2007 at 07:57 AM.
Old 06-26-2007, 03:10 AM   #11
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
ignoring the distro see if this helps?
Old 06-27-2007, 07:50 AM   #12
LQ Newbie
Registered: Mar 2007
Posts: 6

Rep: Reputation: 0
While I am sure it would help, I am not sure it would be safe in the long run or best to go off the update path. Right now I just moniter gam_server everyday, kill it if it starts going wild, and renice it when it restarts.

I really think there needs to be a package to remove it, and it should be considered almost a virus in its current operation. Its inexcusable to me to have that kind of software out there; absolutely nothing else in Linux for years has causes so much trouble. The relatively low priority they have placed this bug and the performance hit the systems are taking is outrageous. Its time to stop defending it and either fix it or provide a clean method to eliminate it from systems.
Old 07-09-2007, 02:33 PM   #13
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Rep: Reputation: 31
Originally Posted by andyholland
I really think there needs to be a package to remove it, and it should be considered almost a virus in its current operation....
Since it is not malicious code, I wouldn't call it a "virus," but its out-of-control nature does lend itself to the possibility of bad coding. It seems to be a harmless package that tries to do good things (tracking file changes for you is a good thing), but there's got to be a better way of keeping it under control than waiting for it to consume 100% CPU so it can be killed.

I also wonder whether this gam_server CPU cycle problem has something to do with my files/folders not being updated in Nautilus until I manually refresh?

Last edited by deesto; 07-09-2007 at 02:46 PM.
Old 07-09-2007, 08:54 PM   #14
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled

I do not use your distro (fedora?) but you might find it relates to anacron and selinux?

I turn off my mandriva so have to use anacron to logrotate, cull tmp etc
Old 08-09-2007, 10:57 AM   #15
LQ Newbie
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Great solution from Ubuntu

I found a great solution on Ubuntu's forum ( Here's the solution from the poster:

Here is a solution that works.

There is a file called "gaminrc" in the "gamin" folder in the "etc" directory which controls how often the gam_server asks the system about changed files.

You have to edit that file as a superuser.

1. Press "Alt" + "F2" to get the "run Application" dialog.

2. In the box type the following (without the quotes) :
"gksu gedit /etc/gamin/gaminrc"
(You will have to type in your administrative password when it asks you)

3. You will need to know what filesystems you are using.
For each filesystem type the following in a separate line replacing <filesystem> with the filesystem you are using:

fsset <filesystem> poll 10

4. Save the file

For example, if you are using the ext3 filesystem you would type the following:

fsset ext3 poll 10

What this does is tell gam_server look for changed files every 10 seconds instead of a gazillion times a second like it was doing.

You can try a different interval other than 10 seconds to see what works best for you.

Good luck.

- Konstantin
I'm using RedHat AS version 4, which doesn't have an /etc/gamin directory, so I put the gaminrc file directly in the /etc directory and it worked like a charm (after I sent a "kill -1" to the gam_server pid).

Last edited by gpayne; 08-09-2007 at 10:59 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gam_server gamin crxssi Linux - General 3 04-30-2005 08:05 AM
FC3 Flashdrive can't umount (busy - gam_server) msewing Linux - Software 2 03-02-2005 11:04 AM
gam_server? k3nn0n Fedora 1 09-23-2004 12:27 PM

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration