Mantis - gamin
Viewing Issue Advanced Details
4596 regular use major always 2010-11-07 19:32 2010-11-09 09:41
pfelecan  
 
high  
new  
open  
none    
none  
0004596: gam_server uses more than 50% CPU
This was discussed in June on the maintainers list but there is no report and no solution. Maybe documenting the issue on tha package's trac main page would be nice, also.
Issue History
2010-11-07 19:32 pfelecan New Issue
2010-11-07 20:46 pfelecan Note Added: 0008441
2010-11-07 20:47 pfelecan Note Edited: 0008441
2010-11-08 22:57 phil Note Added: 0008445
2010-11-09 09:41 pfelecan Note Added: 0008446

Notes
(0008441)
pfelecan   
2010-11-07 20:46   
(edited on: 2010-11-07 20:47)
I tried to use the 3 possible configuration files (see http://people.gnome.org/~veillard/gamin/config.html [^] ) with the following, identical, content:

fsset ufs none
fsset zfs none
fsset nfs none
fsset devfs none
fsset sharefs none
fsset ctfs none
fsset objfs none
fsset tmpfs none

to no avail.

The only way to avoid this unuseful CPU consumption is to:

mv /opt/csw/libexec/gam_server /opt/csw/libexec/gam_server.OFF

Note that most application will gladely run without the gam_server but output the following messages on the standard error:

failed to find gam_server
Failed to connect to socket /tmp/fam-peter/fam-

(avidemux2_gtk:3364): GLib-GIO-WARNING **: FAMOpen failed, FAMErrno=3


(avidemux2_gtk:3364): Gtk-WARNING **: Unable to find default local directory monitor type

the last line is output at each file dialog invocation.

(0008445)
phil   
2010-11-08 22:57   
(I'm presuming you are having difficulties on a solaris 9 system. is this true?)

I'm pondering.... ugly as it may be.. that the "best" solution, may be to either

a) revert to fam (which is more easily disabled)
b) make it so that our gnome libs have fam/gam disabled on sol9. only enabled on sol10.

Or just not enabled at all.

I'd personally be all in favor of a coding fix to make disabling the durn thing simpler(in the fam/gam code)... but the code was just too funky for my level of concentration, the last time I looked at it.

Implementations/fixes/takeovers welcome. I'm pretty much worn out of fixing this junk at this point.
(0008446)
pfelecan   
2010-11-09 09:41   
This is on Solaris 10, see the "fsset zfs none" stanza?