Re: fam using lots of CPU
- From: Jean-Marc Valin <Jean-Marc Valin USherbrooke ca>
- To: nf2 scheinwelt at
- Cc: fam oss sgi com, Nautilus mailing <nautilus-list gnome org>
- Subject: Re: fam using lots of CPU
- Date: Thu, 27 May 2004 15:05:40 -0400
> It would be interesting if fam is monitoring the directory you are
> working in.
> Check
> $ fuser -v /directory
> or
> $ lsof | grep /directory
Yes, I see a bunch of things there:
USER PID ACCESS COMMAND
/home/jm/phd/jmvalin/overflow
jm 3340 ..c.. zsh
jm 3346 ..c.. batchflow
jm 3347 ..c.. grep
jm 3348 ..c.. grep
> Your experience is backing my impression that file alteration monitoring
> via events (kernel directory notification using dnotify) is less
> efficient than people tend to expect...
>
> What you could try:
>
> to disable fam in xinetd
> or
> recompile fam without the dnotify patch.
Actually, the main thing is that I don't think fam should ever be
enabled by default on a system. Such unpredictable behaviour is simply
not acceptable from a daemon.
Jean-Marc
--
Jean-Marc Valin
http://www.xiph.org/~jm/
LABORIUS
Université de Sherbrooke, Québec, Canada
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]