smihir / samfs Goto Github PK
View Code? Open in Web Editor NEWNFSv2 based Distributed Filesystem
License: MIT License
NFSv2 based Distributed Filesystem
License: MIT License
Steps to reproduce:
One observation is that the file does not close until we force close it(:wq!).
Another observation is that if you repeat the above steps 4-5 times, the server starts misbehaving
with the following logs:
I1016 20:16:56.873904 6711 server.go:99] received lookup request for "checkaa"
I1016 20:16:56.874179 6711 server.go:134] received GetAttr request for "/checkaa"
I1016 20:16:56.875185 6711 server.go:99] received lookup request for "checkaa"
I1016 20:16:56.875377 6711 server.go:134] received GetAttr request for "/checkaa"
E1016 20:16:56.875394 6711 server.go:154] could not get open file ser/checkaa :: too many open files
E1016 20:16:56.875401 6711 server.go:149] unable to close file ser/checkaa :: bad file descriptor
I1016 20:16:56.875663 6711 server.go:99] received lookup request for "checkaa"
E1016 20:16:56.875895 6711 server.go:468] failed to get inode and generation number for / :: bad file descriptor
E1016 20:16:56.875903 6711 server.go:104] bad file descriptor
Maybe we are opening too many files and not closing them in the server. Which may trigger the issue as indicated by the logs. However, I am not very sure what is causing the problem. We may need to spend some more time to understand and fix this.
When running the following command:
./bin/write_tests -dir ../mountcli1/write_tests
It gives the following error:
E1026 19:40:01.251788 26697 main.go:43] failed to open ../mountcli1/write-tests/16.txt :: open ../mountcli1/write-tests/16.txt: no such file or directory
To make it run, ./bin/write_tests -dir ../mountcli1/ has to be written in the cmd prompt and then tab has to be pressed so that getattr is sent and then the initial cmd runs properly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.