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

Caching error while opening a newly created file with vofs #188

Open
zonia3000 opened this issue Apr 30, 2021 · 0 comments
Open

Caching error while opening a newly created file with vofs #188

zonia3000 opened this issue Apr 30, 2021 · 0 comments

Comments

@zonia3000
Copy link
Contributor

Hi,
when I try to open a newly created file I receive a "device or resource busy" error:

/tmp/vospace/mydir$ echo 'test' > foo.txt
/tmp/vospace/mydir$ cat foo.txt 
test
cat: foo.txt: Device or resource busy

Looking at the logs it seems to be related to a cache issue:

DEBUG 2021-04-28 17:36:27,864 139731148973824 vos-3.2rc1 vofs.flush.665 flushing 139731531997072
ERROR 2021-04-28 17:36:27,865 139731148973824 vos-3.2rc1 logExceptions.wrapper.20 Exception throw: <type 'exceptions.OSError'> [Errno 16] File refcount indicates files handle busy.
ERROR 2021-04-28 17:36:27,865 139731148973824 vos-3.2rc1 logExceptions.wrapper.21 Traceback (most recent call last):
  File "/home/sonia/.local/lib/python2.7/site-packages/vos-3.2rc1-py2.7.egg/vos/logExceptions.py", line 17, in wrapper
    return func(*args, **kwds)
  File "/home/sonia/.local/lib/python2.7/site-packages/vofs-3.1a0-py2.7.egg/vofs/vofs.py", line 669, in flush
    fh.cache_file_handle.flush()
  File "/home/sonia/.local/lib/python2.7/site-packages/vofs-3.1a0-py2.7.egg/vofs/CadcCache.py", line 933, in flush
    "File refcount indicates files handle busy.")
OSError: [Errno 16] File refcount indicates files handle busy.

Any idea about what could cause it?

Thank you!

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

No branches or pull requests

1 participant