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

🐛 Bug Report: Upload Failed, crashes system. #617

Open
kbkozlev opened this issue Sep 26, 2024 · 3 comments
Open

🐛 Bug Report: Upload Failed, crashes system. #617

kbkozlev opened this issue Sep 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kbkozlev
Copy link

👟 Reproduction steps

To reproduce the issue, try to upload a file that will overflow the disk size.

For example, for a test, I set up a container with 20GB of storage. Inside pingvin I set up that the max upload size is 50 GB and I tried to upload a file larger than 20 GB. The result was that pingvin crashed, but before crashing it constantly tried to re-upload the file again and again,

2024-09-25_22-47

Why is this important: → If I have pingivn running on a 100GB disk for example, but I have multiple people using it can happen that one of the uploads will go above the max capacity of the disk. This will crash the system.

👍 Expected behavior

Once the maximum capacity has been reached, or even for any other reason, the upload failed. Pingvin should try to reupload 2-3 times and then stop in such a way the failed files could be removed as well as all other that do not "fit" and the share can be created.

👎 Actual Behavior

The system keeps on trying and finally crashes. The share is not actually created and is not seen in my shares to be able to be removed, but could be found on the disk and takes on space.

📜 Logs

No response

@kbkozlev kbkozlev added the bug Something isn't working label Sep 26, 2024
@kbkozlev kbkozlev changed the title 🐛 Bug Report: Upload Failed, no way to cancel it. 🐛 Bug Report: Upload Failed, crashes system. Sep 26, 2024
@stonith404
Copy link
Owner

Does the container actually crash or are you just not able to upload files anymore?

@kbkozlev
Copy link
Author

Does the container actually crash or are you just not able to upload files anymore?

It crashed, it actually crashed the whole proxmox server and I had to restart.

@stonith404
Copy link
Owner

Ok thanks. There is an open pull request #619 that will fix the issue by returning an error if not enough space is left. This should be fixed as soon as the PR gets merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants