Help with the lag

Hello, i have a dedicated sv but sometimes i have lag and i see this message:

i make a /sponge timing and the result is this:

https://timings.aikar.co/?id=4349ebf2e12546be8383da3a43631735

Please help me

The issue seems to be coming from the mod “better nether”.

1 Like

Can I remove the mod “better nether” without regenerate the world?
in other words, can I only delete the mod or delete the mod will generate errors?

pd: thanks for the info :wink:

Actually the very first thing I would do is use aikars startup args… If you go to the timings page, there is a link to the correct ones to use.

1 Like

i can’t find the link, can you post it?

Not using Aikar's flags FIX THIS

https://mcflags.emc.gs/

1 Like

but i don’t understant…, what is aikar’s and how can help me?

Aikar is the program used to display and gain timing reports from Sponge and Spigot, aka they know there stuff about server lag.

Aikar flags are additional commands that you can put in when booting up your server (aka from the .bat/.sh file typically called “start”, “run”, “boot”, etc) which are designed to help reduce lag from the server.

For example, your booting up run file will probably look like this

 java -jar -Xmx 6G sponge.jar

which means that the server will boot with 6GB of RAM. With the arguments recommended by Aikar it could look like this

java -jar -Xmx 6G -Xloggc:gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=1M sponge.jar

All of this assumes that your server host (assuming you are using a server host) allows you to modify the run arguments. If they dont then you wont be able to apply them.

1 Like