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

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

Open
majiajun7 opened this issue Dec 10, 2023 · 7 comments

Comments

@majiajun7
Copy link

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:

  • Output of getconf PAGESIZE: 65536
  • OS Details:
    NAME="CentOS Linux"
    VERSION="7 (AltArch)"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="7"
    PRETTY_NAME="CentOS Linux 7 (AltArch)"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:centos:centos:7"
    HOME_URL="https://www.centos.org/"
    BUG_REPORT_URL="https://bugs.centos.org/"

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
Copy link
Author

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

@majiajun7 majiajun7 reopened this Dec 10, 2023
@itzg
Copy link
Owner

itzg commented Dec 10, 2023

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

@itzg
Copy link
Owner

itzg commented Dec 22, 2023

Duplicate of #348

@itzg itzg marked this as a duplicate of #348 Dec 22, 2023
@HankB
Copy link

HankB commented Dec 24, 2023

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
Copy link
Owner

itzg commented Dec 24, 2023

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

@itzg
Copy link
Owner

itzg commented Dec 24, 2023

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

@itzg
Copy link
Owner

itzg commented Dec 24, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants