jammsen / docker-palworld-dedicated-server

Docker container to easily provision and manage Palworld Dedicated Server
https://hub.docker.com/r/jammsen/palworld-dedicated-server
MIT License
898 stars 151 forks source link

[Bug Report] Different CPU usage information. #206

Closed TFidk closed 4 months ago

TFidk commented 4 months ago

Have you read the Important information text above

Current behavior

I installed the Palworld Server on a Synology NAS and it is running. Sometimes there are / were lags and then I checked the utilization of the RAM and the CPU. When it comes to the CPU, I noticed that when I look up the utilization directly on the container, the utilization is completely different than what is displayed in parallel in the resource monitor of the NAS system. Which information is correct? According to the container, the CPU utilization is often over 100%. Makes no sense.

Palworld_Server_CPU-Usage

Desired behavior

Ideally, the utilization information matches in order to have precise information about the utilization.

Links to screenshots

No response

To Reproduce

Steps to reproduce the behavior:

  1. Go to "Container Manager" in the Synology NAS
  2. Click on 'Project'
  3. Right-Click on Palworld-Server
  4. Choose "Detail"
  5. Then the container utilization is displayed

Software setup

Hardware setup

Additional context

No response

jammsen commented 4 months ago

Hey @TFidk - Not sure about the inner mechanics on your NAS and i cant support that, BUT it looks to me that your "Container-Manager" uses Docker's Stat tool and that lists still 120% CPU-Usage for me too, when i use 30% on 4 threads. The Ressource-Monitor" seems to show multi-threads and general load usage on multiple threads. So its a difference in toolings that gets confusing for you together i guess?

jammsen commented 4 months ago

Im closing this issue as resolved, feel free to reach out again if you need help.

If you like this project, please consider giving this repo and the Docker-Hub-Repo a Star.