Nauilusgamin stops showing directory changes

Jason Reid jason at jasonreid.org
Thu Apr 30 01:58:07 UTC 2009


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



More information about the freebsd-gnome mailing list