adelolmo / hd-idle

Hard Disk Idle Spin-Down Utility
GNU General Public License v3.0
562 stars 32 forks source link

'checking skew' is spammed in syslog #77

Closed auanasgheps closed 2 years ago

auanasgheps commented 2 years ago

Hi, hd-idle is prints in the syslog the following messages, continuously since some days. What is going on? :(

Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sde now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051608267s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sda now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051607991s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdb now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051610526s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdd now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051609478s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdc now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051608892s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sde now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sda now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdb now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdd now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdc now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
adelolmo commented 2 years ago

I think this is a leftover from the release candidate you tested. Could you please remove it and install it again from the repository?

On 9 August 2022 13:45:20 CEST, Oliver Cervera @.***> wrote:

Hi, hd-idle is prints in the syslog the following messages, continuously since some days. What is going on? :(

Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sde now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051608267s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sda now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051607991s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdb now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051610526s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdd now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051609478s
Aug  9 13:36:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdc now: 2022-08-09 13:36:41 lastNow: 2022-08-09 13:35:41, now-lastNow: 1m0.051608892s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sde now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sda now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdb now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdd now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s
Aug  9 13:37:41 nas hd-idle[1125]: checking skew. skewtime: 3m0s disk: sdc now: 2022-08-09 13:37:41 lastNow: 2022-08-09 13:36:41, now-lastNow: 1m0.059241686s

-- Reply to this email directly or view it on GitHub: https://github.com/adelolmo/hd-idle/issues/77 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

auanasgheps commented 2 years ago

Removed and reinstalled, still spamming

adelolmo commented 2 years ago

OK. I'll patch it and release it next week.

On 10 August 2022 13:52:26 CEST, Oliver Cervera @.***> wrote:

Removed and reinstalled, still spamming

-- Reply to this email directly or view it on GitHub: https://github.com/adelolmo/hd-idle/issues/77#issuecomment-1210567095 You are receiving this because you commented.

Message ID: @.***>

auanasgheps commented 2 years ago

All right, let me know if you need testing.

adelolmo commented 2 years ago

Hi @auanasgheps The newest release https://github.com/adelolmo/hd-idle/releases/tag/v1.18 fixes the issue.

I made the v1.17 release from a branch instead of doing it from master. This is why the annoying log made its way into the package.

auanasgheps commented 2 years ago

Thank you for the update! Unfortunately my server will be unavailable until early September, so let's close this issue and I will reopen if needed.

One last question. I see this entry Complete the list of targets for the service restart

Is this another attempt to fix resume after standby/hibernation?

adelolmo commented 2 years ago

Is this another attempt to fix resume after standby/hibernation?

I'm not sure what would help in this case, but for completeness I added to the service all suspend/hibernate related targets.

auanasgheps commented 2 years ago

We can close this issue, the 1.17 version has resolved the issue. Thanks!