Skip to content
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

GVFS lock stalls indefinitely #1519

Open
alameenshah opened this issue Sep 11, 2019 · 1 comment
Open

GVFS lock stalls indefinitely #1519

alameenshah opened this issue Sep 11, 2019 · 1 comment

Comments

@alameenshah
Copy link
Contributor

When there are files/directories with long paths in the GVFS root folder, gvfs gets locked (git commands gets stuck with console message - Waiting for GVFS to release the lock …).

gvfs mount logs show multiple lines of PathTooLongExceptions, causing GVFS’s background operations to repeatedly fail, which is why it’s never releasing its lock. The specific error is:
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters

GVFS repository gets locked up, because the background queue gets clogged with multiple file IO operations that it needs to catch up to, the vast majority of which are under the long path folder.

@turbonaitis
Copy link
Contributor

Related to this issue #1251 - essentially if there's any persistent error with the background task, it will block everything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants