The new fam package seems to have some problems with NFS.  First of
all the fam on my client, with nautilus is not contacting the fam on
my nfs server as it is supposed to.

Additionally, when it cannot contact the nfs server it is supposed to
poll nfs files, with a time of 6 seconds (by default, when the command
line is not used to override this value -- which I am not using).  

On my machine, it polls the nfs based files in a very tight loop:

20:46:39 lstat64("/data/.blat/.Trash-brian", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
20:46:39 open("/data/.blat/.Trash-brian", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) 
= 8
20:46:39 fstat64(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20:46:39 shmat(8, 0x8069428, 0x2ptrace: umoven: Input/output error)       = ?
20:46:39 chdir("/data/.blat/.Trash-brian") = 0
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 48
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 0
20:46:39 close(8)                       = 0
20:46:39 chdir("/")                     = 0
20:46:39 gettimeofday({993181599, 704023}, NULL) = 0
20:46:39 lstat64("/data/mp3/.Trash-brian", {st_mode=S_IFDIR|0755, st_size=4096, .  
..}) = 0
20:46:39 open("/data/mp3/.Trash-brian", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 
8
20:46:39 fstat64(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20:46:39 shmat(8, 0x8069428, 0x2ptrace: umoven: Input/output error)       = ?
20:46:39 chdir("/data/mp3/.Trash-brian") = 0
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 48
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 0
20:46:39 close(8)                       = 0
20:46:39 chdir("/")                     = 0
20:46:39 gettimeofday({993181599, 711539}, NULL) = 0
20:46:39 lstat64("/usr/src/.Trash-brian", {st_mode=S_IFDIR|0755, st_size=12288, .  
..}) = 0
20:46:39 open("/usr/src/.Trash-brian", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 8
20:46:39 fstat64(8, {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
20:46:39 shmat(8, 0x8069428, 0x2ptrace: umoven: Input/output error)       = ?
20:46:39 chdir("/usr/src/.Trash-brian") = 0
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 48
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 0
20:46:39 close(8)                       = 0
20:46:39 chdir("/")                     = 0
20:46:39 gettimeofday({993181599, 717074}, NULL) = 0
20:46:39 lstat64("/data/.blat/.Trash-brian", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
20:46:39 open("/data/.blat/.Trash-brian", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) 
= 8
20:46:39 fstat64(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20:46:39 shmat(8, 0x8069428, 0x2ptrace: umoven: Input/output error)       = ?
20:46:39 chdir("/data/.blat/.Trash-brian") = 0
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 48
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 0
20:46:39 close(8)                       = 0
20:46:39 chdir("/")                     = 0
20:46:39 gettimeofday({993181599, 764299}, NULL) = 0
20:46:39 lstat64("/data/mp3/.Trash-brian", {st_mode=S_IFDIR|0755, st_size=4096, .  
..}) = 0
20:46:39 open("/data/mp3/.Trash-brian", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 
8
20:46:39 fstat64(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20:46:39 shmat(8, 0x8069428, 0x2ptrace: umoven: Input/output error)       = ?
20:46:39 chdir("/data/mp3/.Trash-brian") = 0
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 48
20:46:39 ipc_subcall(0x8, 0x8153e78, 0x2000, 0x73) = 0
20:46:39 close(8)                       = 0
20:46:39 chdir("/")                     = 0
20:46:39 gettimeofday({993181599, 772230}, NULL) = 0
20:46:39 lstat64("/usr/src/.Trash-brian", {st_mode=S_IFDIR|0755, st_size=12288, .  
..}) = 0
20:46:39 open("/usr/src/.Trash-brian", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTOR

As you can see, there is certainly no 6 seconds between the poll of
/data/.blat/.Trash-brian, or /usr/src/.Trash-brian, etc.

b.


-- 
Brian J. Murrell

Reply via email to