Server connecting only once
FedotCompot opened this issue ยท 0 comments
Bug Description
Works fine when starting for the first time, but when connecting for the second time, the game freezes and has to be killed.
No error on server
Did this behavior used to work in the previous version?
Unknown
If you answered Yes above...
No response
Steps to Reproduce (for bugs)
- Start server
- Enter and play for a minute
- Try to enter again
Docker compose file used:
services:
mc:
image: itzg/minecraft-server:java21-graalvm
tty: true
stdin_open: true
restart: always
ports:
- 25565:25565
- 19565:19565
environment:
TYPE: AUTO_CURSEFORGE
EULA: "TRUE"
INIT_MEMORY: 10G
MAX_MEMORY: 10G
ONLINE_MODE: "false"
JVM_OPT: -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine
-XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:AllocatePrefetchStyle=3
-XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M
-XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods
-XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority
-XX:+EagerJVMCI -Dgraal.TuneInlinerExploration=1 -XX:+UseG1GC -XX:MaxGCPauseMillis=130
-XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch
-XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20
-XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1
-XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5
-XX:G1ConcRefinementServiceIntervalMillis=150 -XX:G1ConcRSHotCardLimit=16
CF_API_KEY: '$$2a$$10$$QCfZDCASjXiESwA/exhYAeZ64pnJnP3L/OH5YebKDPROT1TiI9qkC'
ICON: https://cdn.discordapp.com/icons/1042958030268006460/f61ab59d66f92f5f19336e479e9727b6.png
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/skyfactory-5
CURSEFORGE_FILES: |
prometheus-exporter
MODRINTH_PROJECTS: |
auth
CREATE_CONSOLE_IN_PIPE: "true"
volumes:
- ./data:/data
Client/Server Log:
Client logs https://mclo.gs/5rLL6hn
Crash Log:
No response
Preset used to world:
minecraft:normal
Modpack Version world was created in:
5.0.8
Additional Content Installed?
prometheus-exporter, auth
Modpack Version:
5.0.8
Java Version:
21
Launcher Used:
SKLauncher
Memory Allocated:
8G
Single Player/LAN/Server:
Server
Optifine Installed:
No
Shaders Enabled:
No
Java Version:
both 21 and 17
Operating System:
Docker on ubuntu using https://github.com/itzg/docker-minecraft-server
Hoster/Hosting Solution:
Dedicated machine R5 3600 -Xmx 10G -Xms 10G