-
Notifications
You must be signed in to change notification settings - Fork 88
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
bug storage: zot crashes if fd-limit reached #359
Comments
See the gist for the concurrent clients upload script |
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Jan 23, 2022
Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Jan 23, 2022
Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Jan 25, 2022
Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Feb 9, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Feb 9, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Feb 13, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Feb 16, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Feb 17, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Feb 18, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Feb 26, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 1, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 5, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 5, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 5, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 5, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 5, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 8, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 8, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 8, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 9, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 28, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 28, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 28, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 31, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
adodon2go
added a commit
to adodon2go/zot
that referenced
this issue
Mar 31, 2022
…loses project-zot#359 Signed-off-by: Alexei Dodon <adodon@cisco.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Zot crashes if file descriptor limit is reached
To Reproduce
Steps to reproduce the behavior:
`
{"level":"error","error":"open /mnt/ramdisk/zot-extended/client62/.uploads/c0a605ed-ff0a-408e-a5d6-8672e2385458: too many open files","blob":"/mnt/ramdisk/zot-extended/client62/.uploads/c0a605ed-ff0a-408e-a5d6-8672e2385458","goroutine":132746,"caller":"zotregistry.io/zot/pkg/storage/storage_fs.go:936","time":"2022-01-10T22:19:51.773990827+02:00","caller":"zotregistry.io/zot/pkg/storage/storage_fs.go:936","message":"failed to open blob"}
2022/01/10 22:19:51 http: Accept error: accept tcp 127.0.0.1:5000: accept4: too many open files; retrying in 5ms
{"level":"error","error":"open /mnt/ramdisk/zot-extended/client49/.uploads/8cf9ef17-fb8e-4f8c-a65d-7c3c13466ff5: too many open files","blob":"/mnt/ramdisk/zot-extended/client49/.uploads/8cf9ef17-fb8e-4f8c-a65d-7c3c13466ff5","goroutine":132752,"caller":"zotregistry.io/zot/pkg/storage/storage_fs.go:936","time":"2022-01-10T22:19:51.820136769+02:00","caller":"zotregistry.io/zot/pkg/storage/storage_fs.go:936","message":"failed to open blob"}
2022/01/10 22:19:53 http: Accept error: accept tcp 127.0.0.1:5000: accept4: too many open files; retrying in 5ms
{"level":"fatal","error":"open /mnt/ramdisk/zot-extended/client173/.uploads/f39028fc-9d2e-4639-9652-88250dcf7f97: too many open files","goroutine":132007,"caller":"zotregistry.io/zot/pkg/storage/storage_fs.go:846","time":"2022-01-10T22:19:53.049291244+02:00","caller":"zotregistry.io/zot/pkg/storage/storage_fs.go:846","message":"failed to open file"}
`
Expected behavior
Zot server should return some error code to the client like 503 in case FD limit is reached (should not crash)
The text was updated successfully, but these errors were encountered: