Thursday, September 13, 2007

What is gam server ? How to stop?

It is a known bug in RHEL.
It hogs all the processors and some time claims 99% of CPU time. This type of behavior is mainly contributed to screen saver. As We are run our server in INIT 3 level,so screen saver is not the culprit in our case.
Gam_server is the running instance name of “gemin” which is by default loaded with RHEL.Its the successor of FAM (File Alteration Module).FAM (or gam_server) is used to decrease CPU cycle by effectively implementing Locking/Unlocking file handles. When used with IMAP , it is claimed that it will ease shared folder implementation.
In our scenario,huge number of gam_servers(sometimes > 350) were running and virtually doing nothing.At the same time, these processes use to fire mails to root which could not be delivered thus giving unnecessary load to Postfix(these mails were lying in Q and postfix tries to resend Q’ed mails after certain intervals)Courier-IMAP has been compiled with FAM module so it was the part and parcel of it. We have not implemented shared folders so I toggled two parameters of imapd.Two parameters IMAP_USELOCKS and IMAP_ENHANCEDIDLE are used to implement shared folders.If you not interested in shared folders(Some webmail client like squirrelmail lets you to implement shared folder ) you can disable these two parameters.

IMAP_USELOCKS=0

IMAP_ENHANCEDIDLE=0

Changed (toggled parameter) is written in RED BOLD. Both these parameters are used in conjunction with Shared Folder Implementation.

After restarting imapd,no gam_server will be spawned.

16 comments:

Anonymous said...

i am also facing the same problem but we are not running any mail server.
What else could be the reason?

suppie said...

hahah. i just renamed the damn executable and killed it..

Anonymous said...

Thanks for ones marvelous posting! I seriously enjoyed reading it, you
could be a great author.I will make sure to bookmark your blog and definitely will come back sometime soon.

I want to encourage that you continue your great posts, have a nice morning!


my weblog :: Bluehost Testimonials

Anonymous said...

I have been browsing online more than three hours today,
yet I never found any interesting article like yours.

It's pretty worth enough for me. In my opinion, if all website owners and bloggers made good content as you did, the net will be much more useful than ever before.

Check out my blog post ... ixwebhosting Testimonials

Anonymous said...

Way cool! Some very valid points! I appreciate you penning this write-up plus the rest of the website is extremely good.


Check out my web page - Hosting Ratings

Anonymous said...

Hey! I just wanted to ask if you ever have any issues
with hackers? My last blog (wordpress) was hacked and
I ended up losing months of hard work due to no
backup. Do you have any solutions to protect against hackers?



My website Naturalanxietyremediestips.com

Anonymous said...

I am regular visitor, how are you everybody? This article posted
at this web site is genuinely fastidious.

my site; Frozenmail.net

Anonymous said...

So, you will wish for to do some shopping
before getting the loan. This will help you as you begin to compare the New York lease options from different dealerships.
When we hire a banquet hall for a party, the space in the banquet hall
is hired to hold the party.

my blog post: Best Car Leasing Deals

Anonymous said...

It also contains several playback controls and a filter
box. Mobile Broadband Connect 5 GB give users the ability to access 5
gigabytes of data through a phone tether or phone-based hotspot.
Another efficient mode to endorse your video is buying buy youtube
comments.

My web site buy youtube views and comments

Anonymous said...

There are many shows throughout the evening including A Dolphin Holiday and the Sea Lion Express along with rides and
activities for all ages

Also visit my blog post: http://www.sixflagsticketscoupons.com/six-flags-magic-mountain/

Anonymous said...

Oh my goodness! Impressive article dude! Thank you so much, However I am experiencing troubles with your RSS.
I don't understand the reason why I can't subscribe to it.
Is there anyone else having the same RSS issues? Anybody who knows the answer can
you kindly respond? Thanks!!

Feel free to visit my web site cheap vps hosting

Anonymous said...

Hi there! I'm at work browsing your blog from my new iphone! Just wanted to say I love reading through your blog and look forward to all your posts! Carry on the great work!

Feel free to surf to my website :: Cost Of Dental Implants

Anonymous said...

Hi! I know this is kinda off topic but I was wondering which blog
platform are you using for this website? I'm getting tired of Wordpress because I've had issues
with hackers and I'm looking at alternatives for another platform. I would be awesome if you could point me in the direction of a good platform.

Also visit my webpage Zebra 2824

Anonymous said...

I used to be recommended this website via my cousin. I'm not
sure whether this publish is written via him as no one else
recognize such particular approximately my difficulty. You are amazing!
Thank you!

Feel free to surf to my web blog ... pirater un compte

vo said...

Bonsoir madame and monsieur
Do you need a loan to make your prjojet? Pay off debts?
Or other things? Please contact Mr POTELAYE. It comes to me a 92.000euro loan.
Here is his email: potelayejh@outlook.fr

TubeViews.co said...

tubeviews
Buy youtube views
Buy Instagram Reel Like
Buy youtube like