You are not logged in.

#1 2008-06-02 02:23:05

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

fam

Fam has started hogging resources lately and I'm not sure why.  I'll be doing my thing, listening to music, trolling forums...and then fam starts hogging cpu (never more than %50 cpu tho)  If I restart fam, then it stops hogging.  Is it safe to restart fam like this?  will it cause any problems?

#/etc/rc.d/fam restart

I'm not sure exactly what programs use fam for...but I'm wondering if it does anything involving data that could be lost if it is restarted.

Last edited by Gauvenator (2008-06-02 02:23:52)

Offline

#2 2008-06-02 03:03:58

BC
Member
Registered: 2008-01-29
Posts: 83

Re: fam

You shouldn't have any problems restarting fam like that.  As an alternative, you could try gamin.

Offline

#3 2008-06-02 04:16:56

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: fam

Honestly, I prefer gamin. For one thing, fam completely breaks FUSE mounts for me, and gamin doesn't. Also, it seems gamin uses less resources in general.

But if you want to stick with fam then it's perfectly fine to restart it like that.


Stop looking at my signature. It betrays your nature.

Offline

#4 2008-06-02 05:59:23

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: fam

inotify!

Offline

#5 2008-06-02 06:35:14

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: fam

If you're using KDE / GNOME you don't need to run FAM. If you're using XFCE you're out of luck.. try gamin. Or start getting use to manually refreshing directories smile


Arch on a Thinkpad T400s

Offline

#6 2008-06-02 16:49:57

watsonalgas
Member
Registered: 2007-01-15
Posts: 92

Re: fam

I am also getting about 90% cpu usage with FAM for some reason.  I really only use it for pcmanfm, so is gamin a good alternative for fam?  It must be a bug because it recently started but not sure under which circumstances...

Offline

#7 2008-06-02 18:05:28

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: fam

watsonalgas wrote:

I am also getting about 90% cpu usage with FAM for some reason.  I really only use it for pcmanfm, so is gamin a good alternative for fam?  It must be a bug because it recently started but not sure under which circumstances...

AKAIK, gamin is a drop-in replacement for fam. I had the high CPU usage problem with fam as well, couldn't really figure out what caused it..


Arch on a Thinkpad T400s

Offline

#8 2008-06-02 19:53:18

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: fam

So to use gamin, just remove fam from the rc.conf daemons array and pacman -S gamin?  No daemon for gamin right?

Edit:  nevermind, gamin conflicts so it doesn't install unless I remove fam.  But I get these errors when removing fam:

error: failed to prepare transaction (could not satisfy dependencies)
:: gnome-vfs: requires fam
:: kdelibs: requires fam

Should I force it's removal?  Gamin should take its place right?

Last edited by Gauvenator (2008-06-02 19:57:15)

Offline

#9 2008-06-02 20:52:04

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

Re: fam

Gauvenator wrote:

Should I force it's removal?  Gamin should take its place right?

Yes. And what you said before is correct. Just remove fam from the daemons array. Gamin will start automatically when needed.

Offline

#10 2008-06-02 21:05:35

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: fam

What DE do you use? Neither Nautilus or Konqueror need fam running as a daemon. Thunar, PCManFM, etc can use either fam or gamin, though in my experience they prefer gamin.

As far as forcing it, I can't think of why it would break things....but I don't know. But if you are using Nautilus or Konq, just take it off of your daemons list and leave it - you'll be fine.


Stop looking at my signature. It betrays your nature.

Offline

#11 2008-06-02 21:07:28

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

Re: fam

[skottish@iasE ~]$ pacman -Qi gamin | grep fam
Provides       : fam  
Conflicts With : fam

It's either one or the other, not both.

Offline

#12 2008-06-02 21:17:47

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: fam

I use Gnome with Nautilus.  I did it and so far so good big_smile thanks for all the advice.

Offline

#13 2008-06-02 22:02:59

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: fam

I uninstalled fam last month and so far I'm very pleased with the performance increase. The bug can't be that new... fam has been eating up 80% of my CPU for at least 6 months and only now has it made me mad enough to uninstall it. I wonder what the bug was... could it be that fam was checking for alterations as often as possible instead of something sane like every few seconds?

I'm about to try gamin. I hear that integration with inotify is the main reason why people like gamin better. Do I have to download a separate package for inotify? or enable a kernel parameter for inotify?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#14 2008-06-02 22:17:46

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

Re: fam

ConnorBehan wrote:

I'm about to try gamin. I hear that integration with inotify is the main reason why people like gamin better. Do I have to download a separate package for inotify? or enable a kernel parameter for inotify?

inotify is built into the kernel. There's nothing left to install other than gamin.

Offline

#15 2008-08-09 20:55:16

luuuciano
Member
Registered: 2007-01-27
Posts: 311

Re: fam

krusader needs fam?
it is safe to remove fam if I use krusader?

if yes... will I need to install gamin after remove fam?


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

Board footer

Powered by FluxBB