arriven / db1000n

MIT License
1.18k stars 208 forks source link

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

Open vkorohod opened 2 years ago

vkorohod commented 2 years ago

How can I manage CPU usage?

1

arriven commented 2 years ago

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

zdytch commented 2 years ago

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

always ghcr.io/arriven/db1000n:latest

arriven commented 2 years ago

@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?

zdytch commented 2 years ago

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]

vkorohod commented 2 years ago

@Arriven db1000n_0.8.19_windows_386.zip, db1000n_0.8.19_windows_amd64.zip, db1000n_0.8.16_windows_386.zip, db1000n_0.8.16_windows_amd64.zip. On VM, and on physical machines. Windows 10.

vkorohod commented 2 years ago

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

arriven commented 2 years ago

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

roman-kruglov commented 2 years ago

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

alexnest-ua commented 2 years ago

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.

1o1o1 commented 2 years ago

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