Can i get some flags for a server with 10gb
Im using https://flags.sh/
but seems to crash still
def is bc of out of memory the panel says so
whats the best flags for
10gbs of ram is what we have
10 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by lovekillin#0
dont listen to the panel
!spark
Spark Profiler
Spark can be used to see why your server or client is lagging.
Users can share a spark report via
/spark profiler start --timeout 300
which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support.
Download | Website | DocsAdmincraft Canned Responses
download spark and run
spark health
!logs
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file.
Where can I find the server log?
Logs are stored in
<server_directory>/logs/
. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log
file. Some providers have a separate page for logs and may hide the "logs" folder.
On Aternos:
β’ Go to https://aternos.org/log/.
On Minehut and server.pro:
β’ Go to the "files" tab in the left menu.
β’ Navigate to the root directory of your server.
β’ From there navigate to /logs/latest.log
.
What should I do with the log?
β’ First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing.
β’ If you got the latest.log
file or created a .txt
file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/.
β’ If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)Admincraft Canned Responses
java -Xms8192M -Xmx8192M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -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 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar server.jar --nogui
Aikar's Thoughts
JVM Tuning: Optimized G1GC for Minecraft - Aikar's Thoughts
Learn more about my In depth study on tuning the G1GC garbage collector to be optimized for how Minecraft servers run, and keep low pause efficient usage.
hm got it set to 8 and 10 is available
TPS from last 5s, 10s, 1m, 5m, 15m:20.0, 20.0, 20.0, 20.0, 20.0
Tick durations (min/med/95%ile/max ms) from last 10s, 1m:8.3/13.5/16.5/25.8; 8.0/13.0/16.8/27.7
CPU usage from last 10s, 1m, 15m:9%, 7%, 7% (system) 5%, 2%, 3% (process)
Memory usage:4.2 GB / 8.0 GB (51%) [ββββββββββββββββββββββββββββββββ»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»]
Network usage: (system, last 15m)10.0 bytes/s / 0 pps (lo rx) 10.0 bytes/s / 0 pps (lo tx) 15.3 KB/s / 257 pps (eth0 rx) 880.2 KB/s / 233 pps (eth0 tx)
Disk usage:440.3 GB / 928.0 GB (47%) [βββββββββββββββββββββββββββββ»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»β»]
its only using 4gb
panel usage is not accurate