| View previous topic :: View next topic |
| Author |
Message |
belrpr Guru

Joined: 22 May 2006 Posts: 440
|
|
| Back to top |
|
 |
R.Smith Tux's lil' helper


Joined: 20 Nov 2005 Posts: 131 Location: Caerdydd, Cymru.
|
Posted: Tue Aug 29, 2006 11:08 am Post subject: |
|
|
| 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 |
|
 |
dolcraith n00b

Joined: 08 Jun 2005 Posts: 56
|
Posted: Thu Oct 12, 2006 6:11 pm Post subject: |
|
|
| 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 |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Sat Oct 14, 2006 9:54 pm Post subject: |
|
|
| 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 |
|
 |
CompNerd Retired Dev


Joined: 16 Mar 2003 Posts: 311 Location: 127.0.0.1
|
|
| Back to top |
|
 |
tylerwylie Guru


Joined: 19 Sep 2004 Posts: 455 Location: /US/Illinois/Champaign
|
Posted: Sun Oct 15, 2006 12:34 am Post subject: |
|
|
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 |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Sun Oct 15, 2006 1:13 am Post subject: |
|
|
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 |
|
 |
blurp Tux's lil' helper

Joined: 21 Oct 2004 Posts: 102
|
Posted: Fri Dec 22, 2006 6:29 am Post subject: |
|
|
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 |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Fri Dec 22, 2006 2:20 pm Post subject: |
|
|
| 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 |
|
 |
blurp Tux's lil' helper

Joined: 21 Oct 2004 Posts: 102
|
Posted: Fri Dec 22, 2006 3:19 pm Post subject: |
|
|
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 |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Fri Dec 22, 2006 3:35 pm Post subject: |
|
|
| 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 |
|
 |
|