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

Too frequent smartctl call #4523

Open
rootzoll opened this issue Apr 5, 2024 · 2 comments
Open

Too frequent smartctl call #4523

rootzoll opened this issue Apr 5, 2024 · 2 comments

Comments

@rootzoll
Copy link
Collaborator

rootzoll commented Apr 5, 2024

With v1.11.0rc6 - if you check sudo journalctl -n 2000 | grep "/home/admin/config.scripts/blitz.datadrive.sh status"

you can see that its called almost all 6 seconds by background.scan.sh service ... to update the NVMe temp, etc - see here:

if [ "${stillvalid}" == "0" ] || [ ${age} -gt ${MINUTE2} ]; then

When it should just happen every 2min ... investigate why this is happening more often.

@rootzoll rootzoll added the bug - unconfirmed Something isn't working - not (yet) reproduced label Apr 5, 2024
@rootzoll rootzoll added this to the 1.11.0 Release milestone Apr 5, 2024
rootzoll added a commit that referenced this issue Apr 5, 2024
@rootzoll
Copy link
Collaborator Author

rootzoll commented Apr 5, 2024

OK now it looks better

Apr 05 14:53:27 raspberrypi _background.scan.sh[1033]: updating: /home/admin/config.scripts/blitz.datadrive.sh status
Apr 05 14:55:24 raspberrypi _background.scan.sh[1033]: updating: /home/admin/config.scripts/blitz.datadrive.sh status
Apr 05 14:57:21 raspberrypi _background.scan.sh[1033]: updating: /home/admin/config.scripts/blitz.datadrive.sh status

@rootzoll rootzoll added final testing was fixed - needs testing and removed bug - unconfirmed Something isn't working - not (yet) reproduced labels Apr 5, 2024
rootzoll added a commit that referenced this issue Apr 5, 2024
@rootzoll rootzoll removed the final testing was fixed - needs testing label Apr 16, 2024
@rootzoll
Copy link
Collaborator Author

Its reduced but still more going on to investigate with v1.11.1

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

1 participant