Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container using different memory than the server #5239

Open
3 tasks done
JeanLucaMicheluzzi opened this issue Oct 30, 2024 · 2 comments
Open
3 tasks done

Container using different memory than the server #5239

JeanLucaMicheluzzi opened this issue Oct 30, 2024 · 2 comments
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.

Comments

@JeanLucaMicheluzzi
Copy link

Current Behavior

I was seeing that the server on the panel was showing very high memory usage, whereas using the server locally it was not using even half of what was being shown.

I installed the server analysis plugin and noticed that it was showing a memory value, but on the panel it was twice as much.

It's okay that we must take Docker's memory usage into consideration, but using more than 1GB is almost unfeasible. I see this behavior on all my servers that I have on the panel.

Screenshot_65

Expected Behavior

Validate the behavior of the Panel, I see that the same problem occurs on several hosting

Steps to Reproduce

Start te server

Panel Version

1.11.7

Wings Version

1.11.13

Games and/or Eggs Affected

Minecraft (Paper)

Docker Image

ghcr.io/pterodactyl/yolks:java_16

Error Logs

No response

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
@JeanLucaMicheluzzi JeanLucaMicheluzzi added the not confirmed Report seems plausible but requires additional testing or 3rd part confirmation. label Oct 30, 2024
@yesBad
Copy link

yesBad commented Oct 30, 2024

This is not really something feasible to "fix".

The panel (aka Docker stats) only show the allocated memory for the Java instance. It however doesn't mean it's "using" that much.

@JeanLucaMicheluzzi
Copy link
Author

Ok, but shouldn't it just show the real value of usage by the server and discard the container's usage without accounting for its memory? Really leaving the total ram for the server.

We can take for example the panel with 1GB, I make 1GB available for the minecraft server, but in the middle of use it ends up reaching 100% of the memory usage not by the server alone, but by the docker + server causing the instance to be restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.
Projects
None yet
Development

No branches or pull requests

2 participants