! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Endless refresh loop while beagle is indexing
Status:
CLOSED: INVALID

Comments

Description herd 2006-08-29 23:46:10 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: 

If Beagle indexes the same FS as thunar is browsing, sometimes the two get into each others way:
Thunar then refreshes 10-15 times per second, strace shows that some read(...) that blocks on NTFS is returning always on ext3 (mounted with user_xattr).

Probably the system runs out of change notification handles?


Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. Launch thunar on your home dir and beagle in the background
2. make huge modificatzions in your file system
3. watch

Actual Results:  
Thunar refreshes 10-15 times per second using 30% CPU

Expected Results:  
Thunar should be aware that something is going on and reduce poll interval.

Killing beagle resolved the problem.
Comment 1 Benedikt Meurer editbugs 2006-08-30 07:36:21 CEST
Well, if killing beagle solves the problem, it'd be logical to file a bug report to beagle.

Anyway w/o further information about whats going on exactly it's impossible to say whats wrong (i.e. stracing Thunar/Beagle, running either of them in a debugger, ...). Everything else is just wild guessing.
Comment 2 herd 2006-08-30 15:10:06 CEST
Created attachment 761 
15 seconds of thunar with and without beagle

the tar.bz2 image contains two straces:
thunar with beagle (1.3 MB)
thunar alone (450 KB)
Comment 3 Benedikt Meurer editbugs 2006-08-30 15:20:30 CEST
Looks like Beagle is constantly writing to the root folder (a file in the root folder) and Gamin/FAM notifies Thunar to reload the folder, which is probably causing the 30% CPU load.
Comment 4 Benedikt Meurer editbugs 2006-09-03 16:42:04 CEST
Moving to 0.5.0rc2.
Comment 5 Benedikt Meurer editbugs 2006-09-14 12:49:00 CEST
You can try killing famd or gam_server and see if it still happens. But since it works fine without Beagle, I tend to say that it's not a problem in Thunar.

Bug #2241

Reported by:
herd
Reported on: 2006-08-29
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.3.1svn

Attachments

Thunar colliding with beagle ( deleted )
2006-08-30 14:45 CEST , herd
no flags
15 seconds of thunar with and without beagle (72.84 KB, application/octet-stream)
2006-08-30 15:10 CEST , herd
no flags

Additional information