You are not logged in.

#1 2008-11-05 22:02:48

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

[Solved] Doubt about FAM

Should fam run as root or as any random (last logged in) user when I'm starting it as a daemon in rc.conf?
Also is it normal for fam to start using lots of cpu time, like more than 80% ? (I think its solved now, I've added noatime,nodiratime to fstab and it seems that solved the problem, still testing that because I wasn't using fam due to it making my laptop crawl to a halt)

Last edited by R00KIE (2008-11-06 21:30:00)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#2 2008-11-05 22:42:00

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: [Solved] Doubt about FAM

Not sure, but I recommend gamin smile

Offline

#3 2008-11-05 23:16:13

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Doubt about FAM

Hmmm gamin sounds like an alternative but will it work with thunar? Anyway fam seems to work fine for me now its just that I'm puzzled why it goes from running as root to running as some user o_O.

Edit:
Seems like there is another alternative but .... I don't think thunar makes use of it (inotify) sad

Last edited by R00KIE (2008-11-05 23:35:20)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2008-11-05 23:47:32

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [Solved] Doubt about FAM

R00KIE wrote:

Hmmm gamin sounds like an alternative but will it work with thunar? Anyway fam seems to work fine for me now its just that I'm puzzled why it goes from running as root to running as some user o_O.

Edit:
Seems like there is another alternative but .... I don't think thunar makes use of it (inotify) sad

inotify has been around for awhile, so I'd be shocked if thunar didn't use it.

Offline

#5 2008-11-06 00:00:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] Doubt about FAM

gamin works well in Thunar. Actually probably better than fam.

The Thunar developer(s) won't implement inotify because it's a Linux only thing.

Last edited by skottish (2008-11-06 00:01:25)

Offline

#6 2008-11-06 10:36:42

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Doubt about FAM

Too bad .... I guess inotify could be the best solution .... meanwhile I'll give gamin a try.

Edit:
gamin seems to work great, all logged in user can use it at the same time (fam seemed to be allocated to the used that logged in last).
fam was a bit reluctant to be removed pacman -R fam spit out an error saying thunar depends on fam .... pacman -S gamin asked to remove it and it went well. Its an install and forget thing, no daemons to configure or anything just use it, perfect big_smile

Last edited by R00KIE (2008-11-06 11:01:56)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2008-11-06 11:45:41

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: [Solved] Doubt about FAM

gamin is just an inotify2fam wrapper. We don't include it because our opinion is that software should use inotify for local file modification tracking. For NFS modification tracking, gamin does its work by polling your network shares constantly, while fam can contact a remote instance of fam running on the network server. Though gamin works better for local files than fam in case you want to use fam instead of inotify, gamin doesn't provide the same functionality as fam.

Offline

#8 2008-11-06 13:00:23

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Doubt about FAM

Yes, I have seen the info on gamin's webpage and I am aware that it does less things that fam is supposed to do but as I don't use NFS I think I'm much better with gamin. From my little hands on experience so far gamin seems to behave a whole lot better than fam for me. I use thunar and as skottish said it seems the developers don't want to use inotify so I'd like to use something, constantly pushing F5 isn't fun tongue and fam wasn't doing the trick for me. You just have to love Linux, if one thing doesn't suit you well there is always another option big_smile. I'll try not to forget about the NFS catch though. Thx for info.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB