Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
This issue make spark Minecraft plugin to report the wrong number of CPU thread available, I am not sure if it could have some performance impact. See related issue here https://github.com/lucko/spark/issues/175
I have no idea about how to reproduce this, a different server with the same hardware and mostly the same set up show the correct number of CPU threads.
It should work if you set a CPU limit. When you set the CPU to unlimited it's just that - unlimited. Not limited to 24 threads because you have 24 threads, just unlimited.
Current Behavior
Java [availableProcessors()](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runtime.html#availableProcessors()) does not return the right number of CPU threads available, even without any
CPU pinning
specified, or even with more than oneCPU pinning
specified.This issue make spark Minecraft plugin to report the wrong number of CPU thread available, I am not sure if it could have some performance impact. See related issue here https://github.com/lucko/spark/issues/175
Expected Behavior
Java [availableProcessors()](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runtime.html#availableProcessors()) method should return the right number of CPU threads available.
Steps to Reproduce
I have no idea about how to reproduce this, a different server with the same hardware and mostly the same set up show the correct number of CPU threads.
Panel Version
1.7.0
Wings Version
1.6.1
Games and/or Eggs Affected
Minecraft paper with install egg script skipped
Docker Image
ghcr.io/pterodactyl/yolks:java_16
Error Logs
Is there an existing issue for this?