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

TMPFS for /var/log folder - 24/7 operation #835

Open
NilsRo opened this issue Aug 29, 2024 · 1 comment
Open

TMPFS for /var/log folder - 24/7 operation #835

NilsRo opened this issue Aug 29, 2024 · 1 comment

Comments

@NilsRo
Copy link

NilsRo commented Aug 29, 2024

What were you doing?

SD Card broken because of too many writes. It's a common problem so perhaps putting the Log in tmpfs would be helpful. It common for 24/7 builds and embedded devices for e.g. OpenWRT.

FSTAB example: none /var/log tmpfs size=5M,noatime 00

What did you expect to happen?

Less writes to SD Card. Can change this on my own but for common users it could be helpful to enhance live of the SD Card.

What happened instead?

Death of the SD Card

Did the same happen when running OctoPrint in safe mode?

Not related to OctoPrint itself but logging could be optimized there as well.

Version of OctoPi

1.0.0

Printer model & used firmware incl. version

Not related

Screenshot(s)/video(s) showing the problem:

SD Card read errors. ;-)

@guysoft
Copy link
Owner

guysoft commented Oct 15, 2024

Do you have any practical PR to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants