Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome gamin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
belrpr
Guru
Guru


Joined: 22 May 2006
Posts: 440

PostPosted: Tue Aug 29, 2006 8:02 am    Post subject: Gnome gamin Reply with quote

Hi,

I recently reinstalled my gentoo box from the 64bit to 32bit.
For gnome I usually used this guide:
http://gentoo-wiki.com/HOWTO_Gnome_Desktop_for_the_End-User

But now I saw this official guide:
http://www.gentoo.org/doc/en/gnome-config.xml

They speak from installing gamin.
But what the hell does it does?

And why doesn't do the official guide this:
rc-update add dbus default
rc-update add hald default

Thanks for the help.
Back to top
View user's profile Send private message
R.Smith
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2005
Posts: 131
Location: Caerdydd, Cymru.

PostPosted: Tue Aug 29, 2006 11:08 am    Post subject: Reply with quote

Gamin is a file monitor which is a replacement for FAM. What Gamin does, as far as I understand it, is monitor the filesystem for changes in files/directories so that when they're created/deleted, the changes will be displayed without having to refresh nautilus.
Back to top
View user's profile Send private message
dolcraith
n00b
n00b


Joined: 08 Jun 2005
Posts: 56

PostPosted: Thu Oct 12, 2006 6:11 pm    Post subject: Reply with quote

But there is no config files for gamin installed (/etc/gamin). The reason I state this is that gamin (or more appropriate the gam_server) eats alot of memory (~125MB) at times. Is there a way to reduce this memory consumption? I ask because it pushes alot of memory to swap when it really shouldn't and slows down the computer.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sat Oct 14, 2006 9:54 pm    Post subject: Reply with quote

dolcraith wrote:
But there is no config files for gamin installed (/etc/gamin). The reason I state this is that gamin (or more appropriate the gam_server) eats alot of memory (~125MB) at times. Is there a way to reduce this memory consumption? I ask because it pushes alot of memory to swap when it really shouldn't and slows down the computer.


unfortunatly that's because it's quite broke, a lot of people are having memory leaks (I've had gamin leak 900mb memory). gamin is on the way out though, programs should be supporting inotify directly.
Back to top
View user's profile Send private message
CompNerd
Retired Dev
Retired Dev


Joined: 16 Mar 2003
Posts: 311
Location: 127.0.0.1

PostPosted: Sun Oct 15, 2006 12:18 am    Post subject: Reply with quote

The configuration file for gamin is ~/.gaminrc for per-user settings. See http://www.gnome.org/~veillard/gamin/config.html for additional details
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


Joined: 19 Sep 2004
Posts: 455
Location: /US/Illinois/Champaign

PostPosted: Sun Oct 15, 2006 12:34 am    Post subject: Reply with quote

Would this be responsible for Nautilus using 99% of my CPU every now and then. (haven't been able to recreate)
_________________
POLITICS, n. A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Oct 15, 2006 1:13 am    Post subject: Reply with quote

hard to say, doubt it, it'd probably be gam_server

but try putting this:
Code:

none /var/log/*
none /home/<user>/.xsession-errors
none /mnt/server/*
fsset ext3 notify
fsset ext2 notify

in /etc/gamin/gaminrc

fill in your username ofc, also I disabled monitoring on /mnt/server/*, since that's a samba mounted network drive.
you'd also have to change the notify thing (or just add a new line) if your using a different filesystem
Back to top
View user's profile Send private message
blurp
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2004
Posts: 102

PostPosted: Fri Dec 22, 2006 6:29 am    Post subject: Reply with quote

just came across this thread while searching for fam and gamin. recently i've been cleaning my gentoo system using app-portage/udept and the fam package kept appearing during deepclean although a number of gnome packages need it.

somehow my system had fam instead of gamin but the dependencies are somehow not reflected properly.

but after reading this thread, does it mean that it is advisable to keep fam instead of gamin? I was actually thinking of emerging gamin to get rid of the dependencies annoyance until i came across this thread.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Dec 22, 2006 2:20 pm    Post subject: Reply with quote

blurp wrote:
just came across this thread while searching for fam and gamin. recently i've been cleaning my gentoo system using app-portage/udept and the fam package kept appearing during deepclean although a number of gnome packages need it.

somehow my system had fam instead of gamin but the dependencies are somehow not reflected properly.

but after reading this thread, does it mean that it is advisable to keep fam instead of gamin? I was actually thinking of emerging gamin to get rid of the dependencies annoyance until i came across this thread.


in my experience gamin is bad, but fam is worse.

I believe gnome is moving away from gamin though (and using native inotify support instead).
Back to top
View user's profile Send private message
blurp
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2004
Posts: 102

PostPosted: Fri Dec 22, 2006 3:19 pm    Post subject: Reply with quote

just curious...

neuron, could you briefly explain why fam is worse? imho, 125mb and 900mb of memory leak are pretty scary. so far, i've not felt the existence of large memory leaks on my gentoo laptop...
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Dec 22, 2006 3:35 pm    Post subject: Reply with quote

blurp wrote:
just curious...

neuron, could you briefly explain why fam is worse? imho, 125mb and 900mb of memory leak are pretty scary. so far, i've not felt the existence of large memory leaks on my gentoo laptop...


I've seen the same thing on fam ;), and it does polling instead of inotify, so it uses a heck of a lot more resources on average as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum