-
Notifications
You must be signed in to change notification settings - Fork 59
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
Error when accesing a file from different processes #126
Comments
Could you describe what you did in a bit more detail please? |
I mounted a directory with some 100mb-300mb files in it and executed a program that needs to read them / load several of them. When this program executes in a single thread, it just takes time and they are downloaded and cached normally. But when this program executes in parallel (~6 processes), I get the error message above (using httpdirfs -f --cache). |
What program is this? Which HTTP server are you using? I need to be able to reproduce your problem at my local end. |
Also could you compile HTTPDirFS with this SHA 1e80844 and see if the problem still occurs. |
Hi, sorry for the long delay, I've been quite busy with academic life. I use HTTPDirFS as a workaround in https://github.com/juanep97/iop4 to mount a remote archive, and avoid having to download ~35GB of files during the CI. But as you can see, tests fail most of the time, because the program does not find the file where it should be / it stopped being mounted at some point (maybe after a connection error?). The version I use is the one in the ubuntu repo. I will try to check if the problem still occurs using that commit you mention. |
No worries, I am a busy person too. Edit: Apologies, I got confused this issues with the other two issues that's due to Is this issue only observed within the CI, or does it happen in real life too? Could you point me to a CI run where this failure occur? You could try and run httpdirfs in single thread mode by passing in |
I'm trying to access (read) a file from different processes, but httpdirfs (-f --cache) crashes:
PS: thanks for the nice software!
The text was updated successfully, but these errors were encountered: