itzg / docker-minecraft-bedrock-server

Containerized Minecraft Bedrock Dedicated Server with selectable version
MIT License
1.14k stars 218 forks source link

Error with PageSize Configuration When Running Minecraft Bedrock Server in Docker #380

Open majiajun7 opened 10 months ago

majiajun7 commented 10 months ago

Hello,

I encountered an issue while trying to run a Minecraft Bedrock server using the itzg/minecraft-bedrock-server Docker image. Here are the steps I followed, the error message I received, and my system information.

Command Used: docker run -it --rm -e EULA=TRUE -p 19132:19132/udp -v mc-bedrock-data:/data itzg/minecraft-bedrock-server /bin/bash

Error Message: DEBU[0000] Using /data to match uid and gid DEBU[0000] Resolved UID=0 from match path DEBU[0000] Resolved GID=0 from match path Looking up latest version... Starting Bedrock server... Error: PageSize configuration is wrong: configured with 4096, but got 65536

System Information:

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

I am unsure about the cause of this PageSize configuration error and how it relates to my system's configuration. This issue occurs during the server startup process.

Could anyone provide insights into what might be causing this error and how to resolve it on my specific system?

Thank you in advance for your assistance.

Best regards, majiajun7

majiajun7 commented 10 months ago

Additional Information:

I would like to add that my server is running on an ARM64 processor. This detail might be relevant to the PageSize configuration issue I'm experiencing. Any insights or suggestions considering this architecture would be greatly appreciated.

Thanks again for your help!

majiajun7

itzg commented 10 months ago

I have heard of this issue and might even be a duplicate. It is beyond my control to fix via the container automation.

itzg commented 9 months ago

Duplicate of #348

HankB commented 9 months ago

The Raspberry Pi 5 is configured to run with a 16K page size whereas earlier Pis were all configured with a 4K page size.

I don't know if the issue is Docker or Java VM. Java reports

hbarta@nova:~ $ java --version
openjdk 17.0.9 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.9+9-Debian-1deb12u1, mixed mode)
hbarta@nova:~ $
itzg commented 9 months ago

@HankB good data point, but can you re-comment on #348 since this issue is a duplicate?

itzg commented 9 months ago

...BTW, Bedrock edition doesn't run with Java. It's a native executable so the issue is with Bedrock itself most likely.

itzg commented 9 months ago

...wait, on ARM64 it's emulated with box64 so it's actually going to be something with that.