resize tmpfs - tmpfs is not large enough for large gcode file upload #552
Closed
chawasit
started this conversation in
Features Request
Replies: 1 comment 1 reply
-
Don't do this, that can cause issue with firmware update! I have fixed this by relocating Moonraker tmp folder to /usr/data/moonraker/tmp than /tmp who is limited by 98MB. Replace S56moonraker_service file in /etc/init.d folder : https://github.com/Guilouz/Creality-Helper-Script/blob/main/files/services/S56moonraker_service |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found an 502 bad gateway error when upload 110MB gcode from orca slicer.

Error from moonraker say it has problem with space.
Moonraker try to write upload file to tmpfs first, then move it later. And, The default tmpfs size is half of a ram, which is 104MB.

I try to resize the /tmp to 1GB and its work
mount -o remount,size=1G /tmp
Hope someone write this to the helper script to permanent resize tmpfs on boot.
some dioscussion related to tmpfs size
#505
Beta Was this translation helpful? Give feedback.
All reactions