docker-minecraft-bedrock-server icon indicating copy to clipboard operation
docker-minecraft-bedrock-server copied to clipboard

Error with PageSize Configuration When Running Minecraft Bedrock Server in Docker

Open majiajun7 opened this issue 1 year ago • 7 comments

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 avatar Dec 10 '23 15:12 majiajun7

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 avatar Dec 10 '23 16:12 majiajun7

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

itzg avatar Dec 10 '23 17:12 itzg

Duplicate of #348

itzg avatar Dec 22 '23 13:12 itzg

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:~ $

HankB avatar Dec 24 '23 02:12 HankB

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

itzg avatar Dec 24 '23 03:12 itzg

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

itzg avatar Dec 24 '23 03:12 itzg

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

itzg avatar Dec 24 '23 03:12 itzg