Skip to content

TagFuse: when starting up, lots of non-existent getattr requests performed by some unknown source #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
danome opened this issue Apr 16, 2018 · 0 comments
Assignees
Labels
Bug Critical Day0 needed for Day Zero

Comments

@danome
Copy link
Contributor

danome commented Apr 16, 2018

When TagFuse starts up some higher level system code is calling getattr on several directories that don't exist. This slows down the system considerably.

Below is the output from tagfuse startup.

DEBUG:fuse.log-mixin:-> getattr /BDMV (None,)
** getattr: path /BDMV
*** dirhandler.traverse fail
** getattr: pathlist: None
DEBUG:fuse.log-mixin:<- getattr '[Errno 2] No such file or directory'
DEBUG:fuse.log-mixin:-> opendir / ()
DEBUG:fuse.log-mixin:<- opendir 0
DEBUG:fuse.log-mixin:-> getattr /.xdg-volume-info (None,)
** getattr: path /.xdg-volume-info
*** dirhandler.traverse fail
** getattr: pathlist: None
DEBUG:fuse.log-mixin:<- getattr '[Errno 2] No such file or directory'
DEBUG:fuse.log-mixin:-> getattr / (None,)
** getattr: path /
** getattr: pathlist: ['']
*** dirhandler.getattr ['']
DEBUG:fuse.log-mixin:<- getattr FileHandler([('st_ctime', 1523859363.713652), ('st_mtime', 1523859363.713653), ('st_nlink', 4), ('st_gid', 1000), ('st_blksize', 512), ('st_size', 0), ('st_atime', 1523859363.713654), ('st_uid', 1000), ('st_mode', 16873)])
DEBUG:fuse.log-mixin:-> getattr /autorun.inf (None,)
** getattr: path /autorun.inf
*** dirhandler.traverse fail
** getattr: pathlist: None
DEBUG:fuse.log-mixin:<- getattr '[Errno 2] No such file or directory'
DEBUG:fuse.log-mixin:-> getattr /.Trash (None,)
** getattr: path /.Trash
*** dirhandler.traverse fail
** getattr: pathlist: None
DEBUG:fuse.log-mixin:<- getattr '[Errno 2] No such file or directory'
DEBUG:fuse.log-mixin:-> readdir / (0L,)
*** NetDirHandler.readdir [bytearray(b'\xa0\xb6\x96\xb4\xfb)')]
*** NetDirHandler.readdir Set(['a0b696b4fb29']) Set(['ffffffffffff']) Set(['a0b696b4fb29'])
sparse handler init: /home/pi/tag_store
*** NetDirHandler.readdir ['.', '..', '.test', 'ffffffffffff', 'a0b696b4fb29']
DEBUG:fuse.log-mixin:<- readdir ['.', '..', '.test', 'ffffffffffff', 'a0b696b4fb29']
DEBUG:fuse.log-mixin:-> getattr /.Trash-1000 (None,)
** getattr: path /.Trash-1000
*** dirhandler.traverse fail
** getattr: pathlist: None
DEBUG:fuse.log-mixin:<- getattr '[Errno 2] No such file or directory'
@danome danome added Bug Critical Day0 needed for Day Zero labels Apr 16, 2018
@danome danome self-assigned this Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Critical Day0 needed for Day Zero
Projects
None yet
Development

No branches or pull requests

1 participant