Recent Discussions
Major Server Lag
Unanswered
Spectacled bear posted this in #questions
208 messages
0 views
Spectacled bearOP
Hi. Me and another developer have been running a small minecraft SMP.
Yesterday, we reached 20 players and the server was unplayable. TPS was incredibly low, constant lag spikes, and it was generally just a horrible experience.
For context, here's our server stats:
We took the server offline because of how bad the performance was. Before taking it down, we tried:
- Disabling plugins one by one to see if any were causing the issue
- Changing Spigot / Purpur / Bukkit settings to reduce entities and load
- Restarting the server multiple times
- Other basic troubleshooting steps
The server has multiple plugins, but basically none of them are custom coded & they're all up to date.
Attached is an old Spark profiler we ran. So far, I've assumed it's poorly performing because we didn't preload the server beforehand. We did not preload the map before launch, and our /rtp command (which also runs automatically on first join) has a 15,000 block radius.
We are currently running Chunky, but even after pausing it and disabling every plugin, the server is still decently laggy.
Yesterday, we reached 20 players and the server was unplayable. TPS was incredibly low, constant lag spikes, and it was generally just a horrible experience.
For context, here's our server stats:
RSRDEV N1 -- Orangeburg 30, New York
- 800 GB SSD
- 6 EPYC Turin (4.1GHz)
- 16 GB DDR4 RAM
- 1 GBit/second port
- Dedicated IP addressWe took the server offline because of how bad the performance was. Before taking it down, we tried:
- Disabling plugins one by one to see if any were causing the issue
- Changing Spigot / Purpur / Bukkit settings to reduce entities and load
- Restarting the server multiple times
- Other basic troubleshooting steps
The server has multiple plugins, but basically none of them are custom coded & they're all up to date.
Attached is an old Spark profiler we ran. So far, I've assumed it's poorly performing because we didn't preload the server beforehand. We did not preload the map before launch, and our /rtp command (which also runs automatically on first join) has a 15,000 block radius.
We are currently running Chunky, but even after pausing it and disabling every plugin, the server is still decently laggy.
DZ2bzZnWjt_1.sparkprofile
@Spectacled bear Hi. Me and another developer have been running a small minecraft SMP.
Yesterday, we reached 20 players and the server was unplayable. TPS was incredibly low, constant lag spikes, and it was generally just a horrible experience.
For context, here's our server stats:
RSRDEV N1 -- Orangeburg 30, New York
- 800 GB SSD
- 6 EPYC Turin (4.1GHz)
- 16 GB DDR4 RAM
- 1 GBit/second port
- Dedicated IP address
We took the server offline because of how bad the performance was. Before taking it down, we tried:
- Disabling plugins one by one to see if any were causing the issue
- Changing Spigot / Purpur / Bukkit settings to reduce entities and load
- Restarting the server multiple times
- Other basic troubleshooting steps
The server has multiple plugins, but basically none of them are custom coded & they're all up to date.
Attached is an old Spark profiler we ran. So far, I've assumed it's poorly performing because we didn't preload the server beforehand. We did not preload the map before launch, and our /rtp command (which also runs automatically on first join) has a 15,000 block radius.
We are currently running Chunky, but even after pausing it and disabling every plugin, the server is still decently laggy.
Palomino
https://media.duhon.dev/u/DRN44o.png
From what I see, your allocated ram is a far cry from what it should be
From what I see, your allocated ram is a far cry from what it should be
how are you running the server? What provider? If possible, what java command are you using?
Our dashboard says we have 14 GB.
@Spectacled bear That's really weird to me.
Palomino
pterodactyl panel I assume?
@Palomino pterodactyl panel I assume?
Spectacled bearOP
Yep.
Palomino
mind sending over the java start command?
@Palomino how are you running the server? What provider? If possible, what java command are you using?
Spectacled bearOP
Contabo GmbH
Palomino
chances are the docker image is being allowed to use up to 14 GB, but the actual start command isn't setup properly
@Palomino mind sending over the java start command?
Spectacled bearOP
java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar server.jarsee if anything changes
I believe MaxRAMPercentage as a flag only applies for some things... weirdly enough
unless I'm misquoting something
@Spectacled bear That's really weird to me.
Palomino
btw, did the dashboard tell you your ram was maxing out when 20 players were online?
like, do you remember?
@Palomino btw, did the dashboard tell you your ram was maxing out when 20 players were online?
Spectacled bearOP
Never went above 9
We have 14.
@Palomino Add in "-Xmx12G"
Spectacled bearOP
One sec. I have to get the other guy to do this 👍
Palomino
yeah, then its likely a configuration issue yeah
Palomino
so, to educate myself I did do some research, I think MaxRAMPercentage doesn't directly set the heap size, which might be weird?
or maybe its just MaxRAM that doesn't
@Palomino or maybe its just MaxRAM that doesn't
Spectacled bearOP
Just edited startup and hit start.
Waiting for it to come online now.
Loading...
Loading...