Occasional bad server lag

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

TonyTheBean

New Member
Jul 29, 2019
6
0
0
  • What OS are you running?
  • Windows Server 2008 R2
  • Are you using minecraft hosting provider or a dedicated/local server not designed for minecraft?
  • I'm using a Dedicated box shared between a few friends
  • What version of FTB are you using? (Dont just say latest tell us the version)
  • Latest version of ultimate
  • Did you add any mods to the server pack?
  • Just dynmap
  • What are your server specs?
  • Xeon E3-1270 V2 @ 3.50ghz, 16gb RAM, 120gb SSD, 500 GB HDD, 1GB Ram disk
  • A good detailed paragraph about the problem
For about 3 days now, the server has been experiencing very bad lag that is only stopped by restarting the server. The server's CPU usage goes from about 10% to about 70-80% and stays there till the server stops, and the MC server's ram usage goes to about 70% of its allocated 1GB as shown here.
 

cjm721

New Member
Jul 29, 2019
734
0
1
Don't run with the GUI and you will pick up about 30%, second look at what you all have build and check for infinite loops.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Yeah, the GUI was a red flag to me, I was asking about the rest of the start up file and Java because of that.
 

cjm721

New Member
Jul 29, 2019
734
0
1
Yeah, the GUI was a red flag to me, I was asking about the rest of the start up file and Java because of that.


Compleatly missed that you asked for that. Guess that is what 10 hours of driving in one day will do to me.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Veering off topic, but was it for work or personal? Cause damn, if any drive is over 6 hours I usually pay for an airplane ticket.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
There is no dash, its just nogui. Your new startup file should look like this: java -server -Xms1G -Xmx2G -jar ftbserver.jar nogui
 
  • Like
Reactions: Eyamaz

defakto

New Member
Jul 29, 2019
63
0
0
I've had good luck with this on my windows server, and I've used one of the "Crazy" flag trains as well that I have good luck with on my linux box.

Code:
java -Xms256M -Xmx4G -XX:+AggressiveOpts -XX:-UseParallelGC -XX:ReservedCodeCacheSize=1G -XX:ParallelGCThreads=4 -jar <YOURSERVER.JAR> nogui