Re: Problems with gam_server
Dana Wellen <[email protected]>
| Newsgroups | gmane.linux.redhat.rhn.user |
|---|---|
| Message-ID | <[email protected]> |
I have a soultion to the gam_server 100% cpu usage. What is happening is that there isn't a config file for the gam_server so it defaults to checking NFS mounts as fast as it can and under some conditions will cause it to run away and use 100% cpu. The fix is to create a config file: /etc/gamin/gaminrc with the contents: cat /etc/gamin/gaminrc # configuration for gamin # Can be used to override the default behaviour. # notify filepath(s) : indicate to use kernel notification # poll filepath(s) : indicate to use polling instead # fsset fsname method poll_limit : indicate what method of notification for the filesystem # kernel - use the kernel for notification # poll - use polling for notification # none - don't use any notification # # the poll_limit is the number of seconds # that must pass before a resource is polled again. # It is optional, and if it is not present the previous # value will be used or the default. fsset nfs poll 10 # use polling on nfs mounts and poll once every 10 seconds ------------------------------------------- This will limit polling to every 10 seconds and seams to prevent it from running away. Thanks, Dana Wellen Shehzad Tahir Nagi wrote: Hi, I have a very basic problem but some how i am not able to get my head around it. I have Dell blade servers 1955 with RHEL4 OS on it. For past few days the system has started acting very busy and after quick investigation (just writing top) we found out that the "gam_server" service is taking 100% cpu usage. I understand we are doing a little bit of IO working on the box but even then it shouldn't be taking 100% process time. >From what I have noticed its a bug with the kernal but i am a bit confused how to fix it? If i kill the process, what are the drawbacks? We have two NFS mounted drive on the blades too. Please if any one has quick suggestion or a fix, it will be highly appreciated. Thanks alot in advance. Regards, Shehzad _______________________________________________ rhn-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhn-users -- Dana Wellen Sr. Systems Engineer ON Semiconductor Phone: (401) 886-3554 Email: [email protected] _______________________________________________ rhn-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhn-users