-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Sysupgrade via LuCI: "No space left on device" #3654
Comments
This is related to how I'll see if I can implement an |
… file Create an anonymous inode in /tmp using O_TMPFILE and attempt to link the file in place using linkat(). Only fall back to the old file copy when linking the tempfile fails. Avoids double memory use if both the temporary upload file and the destination file are located in /tmp. Ref: openwrt/luci#3654 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
… file Create an anonymous inode in /tmp using O_TMPFILE and attempt to link the file in place using linkat(). Only fall back to the old file copy when linking the tempfile fails. Avoids double memory use if both the temporary upload file and the destination file are located in /tmp. Ref: openwrt/luci#3654 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
The linked PR has been merged, this should fix this issue. |
… file Create an anonymous inode in /tmp using O_TMPFILE and attempt to link the file in place using linkat(). Only fall back to the old file copy when linking the tempfile fails. Avoids double memory use if both the temporary upload file and the destination file are located in /tmp. Ref: openwrt/luci#3654 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
… file Create an anonymous inode in /tmp using O_TMPFILE and attempt to link the file in place using linkat(). Only fall back to the old file copy when linking the tempfile fails. Avoids double memory use if both the temporary upload file and the destination file are located in /tmp. Ref: openwrt/luci#3654 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 4f4a7e9)
… file Create an anonymous inode in /tmp using O_TMPFILE and attempt to link the file in place using linkat(). Only fall back to the old file copy when linking the tempfile fails. Avoids double memory use if both the temporary upload file and the destination file are located in /tmp. Ref: openwrt/luci#3654 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
… file Create an anonymous inode in /tmp using O_TMPFILE and attempt to link the file in place using linkat(). Only fall back to the old file copy when linking the tempfile fails. Avoids double memory use if both the temporary upload file and the destination file are located in /tmp. Ref: openwrt/luci#3654 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
LuCI 19.07.1, device linkit7688 128MB RAM.
When I try upload large (34,6 MB) sysupgrade file I get error:
Command free output during update on 19.07:
Command free output during update on 18.06:
System upgrade via CLI working correct.
But if I try to upload a file over 30 MB via LuCI, I get this error.
The text was updated successfully, but these errors were encountered: