#Attempting to get JVM arguments working for my Server

1 messages · Page 1 of 1 (latest)

wraith prairie
#

JVM Arguments:
java -Xms32G -Xmx32G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar {{SERVER_JARFILE}}" || printf %s "@unix_args.txt" )

Log from Ptero:

[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 1
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from pterodactyl/yolks 
Digest: sha256:cdf9461a87dff73748de6f7ef81903df893e97825346f6a43a9a3766430e2261 
Status: Image is up to date for ghcr.io/pterodactyl/yolks:java_17 
[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ java -version
openjdk version "17.0.7" 2023-04-18
OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
container@pterodactyl~ java -Xms32G -Xmx32G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -Dterminal.jline=false -Dterminal.ansi=true -jar server.jar
Error: Unable to access jarfile server.jar
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 1
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.

Things Attempted:
Removed PreTouch
https://github.com/pterodactyl/panel/issues/1601
-> Same Log

Additional Info in Images

System Spec:
Ryzen 7 7700
64 GB of Dedidated Wam

GitHub

Background (please complete the following information): Panel or Daemon: Daemon Version of Panel/Daemon: 0.7.13 Server's OS: 0.6.12 Your Computer's OS & Browser: Modified chromium os &a...

prime carbonBOT
#

There were too many logs to read @wraith prairie. Please post 5 or less. Alternatively, please share larger logs using paste sites, such as pteropaste or hastebin.

worldly dust
#

This has nothing to do with your flags. You don't have a server.jar file in your home directory. If it has a different name, change the variable for server name.

wraith prairie
#

I assume it's to do with the egg that is meant to setup the forge installer for me no?

wraith prairie
worldly dust
#

You must not have filled out one of the variables correctly. Check the description for each one and reinstall.

wraith prairie
# worldly dust You must not have filled out one of the variables correctly. Check the descripti...

I've fixed that issue on my part changing Forge Version -> 1.19.2-43.2.12 it now has a installer.jar using the forge_egg.

It's run now into

merged.txt, --ann-fix, --ids-fix, --src-fix, --record-fix
Forge Auto Renaming Tool v0.1.22
log: null
input: /mnt/server/./libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-slim.jar
output: /mnt/server/./libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-srg.jar
threads: 8
Names: /mnt/server/./libraries/de/oceanlabs/mcp/mcp_config/1.19.2-20220805.130853/mcp_config-1.19.2-20220805.130853-mappings-merged.txt(reversed: false)
Fix Annotations: true
Fix Records: true
Fix Identifiers: ALL
Fix SourceFile: JAVA
Fix Line Numbers: false
Strip codesigning signatures: false
Adding Libraries to Inheritance
Reading Input: /mnt/server/./libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-slim.jar
Adding input to inheritence map
/mnt/install/install.sh: line 107:   420 Killed                  java -jar installer.jar --installServer
Install failed using Forge version 1.19.2-43.2.12 and Minecraft version .
Should you be using unlimited memory value of 0, make sure to increase the default install resource limits in the Wings config or specify exact allocated memory in the server Build Configuration instead of 0! 
Otherwise, the Forge installer will not have enough memory.

I've also defaulted, to the default Service Start Command

#

I don't really know what config it is referring to by this, and where this 0 may exist.

#

Should this be increased beyond a gigabyte? Is this what it is referring to?

#

Changing that number -> 4096MB worked? Not sure why a gigabyte wouldn't do the job