db1000n icon indicating copy to clipboard operation
db1000n copied to clipboard

How can I make the CPU usage less than 100%?

Open vkorohod opened this issue 2 years ago • 10 comments

How can I manage CPU usage?

1

vkorohod avatar Apr 06 '22 22:04 vkorohod

Which version are you running? There were issues with that in the past

arriven avatar Apr 07 '22 05:04 arriven

Right now I have the same 100% CPU issue with the latest docker version

always ghcr.io/arriven/db1000n:latest

zdytch avatar Apr 07 '22 07:04 zdytch

@zdytch docker doesn't pull new versions unless --pull always is specified. The app should output its version when started, what does it show for you?

arriven avatar Apr 07 '22 07:04 arriven

Status: Image is up to date for ghcr.io/arriven/db1000n:latest 2022/04/07 08:00:05.589425 main.go:51: DB1000n [Version: v0.8.20][PID=1]

zdytch avatar Apr 07 '22 08:04 zdytch

@Arriven maybe you need to run with some parameters? I just double click to launch.

vkorohod avatar Apr 07 '22 11:04 vkorohod

we would certainly benefit from --debug argument being specified to get some more details into what's going on

arriven avatar Apr 07 '22 11:04 arriven

guys, a bit more details from me about high CPU usage starting from this comment here https://github.com/Arriven/db1000n/issues/491#issuecomment-1091560082

roman-kruglov avatar Apr 07 '22 11:04 roman-kruglov

Right now I have the same 100% CPU issue with the latest docker version

always ghcr.io/arriven/db1000n:latest

That is a problem of Docker Dekstop, not of any script.

alexnest-ua avatar Apr 14 '22 23:04 alexnest-ua

https://stackoverflow.com/questions/4208/windows-equivalent-of-nice ;)

1o1o1 avatar May 30 '22 11:05 1o1o1