04-10-2016, 06:02 AM
(04-10-2016, 05:32 AM)LMHansen Wrote: You need to edit the server.properties file in the folder where the .jar file lives. There's a line "view-distance=10", which defines how far a player can see. Default is 10 chunks. This is too much for the server to handle, even for a single player. I reduced this value to "6", and that removed all the lagging and complaints from the server.
Additionally, some tuning is needed for java to get the best out of it ... I start it like this:
java -server -d64 -Xmx1536M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSIncrementalPacing -XXarallelGCThreads=1 -XX:+AggressiveOpts
-jar minecraft_server_1.9.2.jar nogui
Perfect, view-distance was already reduced, this was just what i figured out of your recent post.
Thanks for the additional settings for the java order, i run mine in a screen session, so i don't need the startup-script.
BTW: What java version do you use? I use java8:
openjdk version "1.8.0_02-Ubuntu"
OpenJDK Runtime Environment (build 1.8.0_02-Ubuntu-8u77-b03-3ubuntu2-b03)
OpenJDK 64-Bit Server VM (build 25.02-b03, mixed mode)
Thanks for the support
Still a linux newbie with several EEE-PCs, PI's, LattePanda and some Desktops/Laptops running Win10. Now also proudly using Pine64+ 2GB and gigabit LAN