Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 21:29:23 -0400
From:      Jason Reid <jason@jasonreid.org>
To:        freebsd-gnome@freebsd.org
Subject:   Nauilusgamin stops showing directory changes
Message-ID:  <1241054963.2788.6.camel@localhost>

next in thread | raw e-mail | index | archive | help
Hello,

>From time to time Nautilus will not keep up with directories as the
files change. I cannot pinpoint the exact cause, but I can, for example,
"touch newfile" in a directory or on my Desktop, and Nautilus will not
show it until I open a Nautilus window to that directory/desktop and
click View -> Reload.

Filesystem polling works fine after a reboot. Right now I have been up
for 4 days and just noticed, but it's stopped working as quickly as an
hour after boot. This is not a new problem with 2.26 and is something
I've experienced since at least 2.20. My system is FreeBSD 7.1-p4 i386
using a ZFS disk, but I've seen the same problem on the same computer
under an old installation using UFS.

Some Googling reveals that Nautilus uses devel/gamin to poll changes
which in turn uses kqueue by default. The port has a compile-time option
for GAM_POLLER that I do not have enabled. Konqueror, however has never
exhibited this problem.

The closest bug report I was able to find was
https://bugzilla.redhat.com/show_bug.cgi?id=130859 from 2004 which I
don't believe is applicable. It discusses gamin 0.0.x, and I use
0.1.10_1.

My kern.maxfiles is 25000. kern.openfiles reports 10735, and "fstat |
grep gam_server | wc -l" reports 8890.

Thanks, Jason




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1241054963.2788.6.camel>