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

File ".rtreport" affects the useful life of an SSD - WRITE I/O #381

Closed
TBMSP opened this issue Mar 7, 2024 · 2 comments
Closed

File ".rtreport" affects the useful life of an SSD - WRITE I/O #381

TBMSP opened this issue Mar 7, 2024 · 2 comments

Comments

@TBMSP
Copy link

TBMSP commented Mar 7, 2024

Hello!
I have been looking for how to prevent the process from writing to "/tmp/lshttpd/.rtreport" every second per thread, I have not found a way, and this represents a significant use of IO in writing to the disk, it is approximately 4k per second per thread, which is very little, but in a sufficient period of time, clearly affects the useful life of an SSD.
From what I saw, this file is for real-time statistics for the administration panel, but it is not always needed, I would say (at least for me) never.
In the panel I did not find an option to disable the process from writing ".rtreport" even if I clicked "stop" in the panel, it is possible that there is some setting between the files but for now I have not found it.
I have OpenLiteSpeed 1.7.19 on a fresh install on debian 12.

@litespeedtech
Copy link
Owner

you can mount a ramdisk at /tmp/lshttpd .

@litespeedtech
Copy link
Owner

Addressed in 1.8.2 , use /dev/shm for rtreport now.

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