dashdot: [Bug] dashdot prevents one hdd from standby

Description of the bug

As long as dashdot docker container is running, one of my HDDs is woken every ~30s. If I set it to sleep/standby it would be active/idle again about 20s later. I’m using this command to start dashdot:

docker run -it --name dashdot -p 12137:3001 --privileged --restart=unless-stopped --env DASHDOT_SHOW_HOST=“true” --env DASHDOT_SHOW_DASH_VERSION=“bottom_right” --env DASHDOT_ALWAYS_SHOW_PERCENTAGES=“true” --env DASHDOT_PAGE_TITLE=“dash.domain.com” --env DASHDOT_NETWORK_LABEL_LIST=“type,speed_up,speed_down,interface_speed,public_ip” -v /:/mnt/host:ro mauricenino/dashdot

I have two similar HDDs in a raid, but only sdc is affected, difference is the additional partition there: sudo blkid | grep -E ‘sda|sdc’ /dev/sda: UUID=“50bcf8e3-684f-6aa2-b325-bb179aecbe3d” UUID_SUB=“168752fb-a767-8fa3-31d3-b51b1d7963bb” LABEL=“richihomecl:0” TYPE=“linux_raid_member” /dev/sdc1: UUID=“50bcf8e3-684f-6aa2-b325-bb179aecbe3d” UUID_SUB=“777aced7-3e40-f978-54cf-badee5b17989” LABEL=“richihomecl:0” TYPE=“linux_raid_member” PARTUUID=“6360d8c2-01”

How to reproduce

No response

Relevant log output

No response

Info output of dashdot cli

~$ docker exec dashdot yarn cli info
yarn run v1.22.19
$ node dist/apps/cli/main.js info
node:internal/modules/cjs/loader:1080
  throw err;
  ^

Error: Cannot find module 'systeminformation'
Require stack:
- /app/dist/apps/cli/apps/cli/src/main.js
- /app/dist/apps/cli/main.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._resolveFilename (/app/dist/apps/cli/main.js:32:36)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/app/dist/apps/cli/apps/cli/src/main.js:26:18)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/app/dist/apps/cli/apps/cli/src/main.js',
    '/app/dist/apps/cli/main.js'
  ]
}

Node.js v18.17.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

What browsers are you seeing the problem on?

No response

Where is your instance running?

Desktop PC (Linux)

Additional context

No response

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Hi! Chiming in to say that Dash. is preventing all my Unraid array from ever sleeping for me too. As soon as I start the container all my disk spin up. That’s quite annoying, and setting up a poll rate is not the best approach either.

As you have discussed already, Dash. should keep watch of the drives and update the values when they happen to be awake, and do nothing if they are asleep. At most I’d allow Dash. to wake up the drives on container startup, and nothing else.