Minecraft Server
#8
(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 -XXTonguearallelGCThreads=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 Smile
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


Messages In This Thread
Minecraft Server - by chrislink14 - 01-19-2016, 08:07 AM
RE: Minecraft Server - by hazerty - 01-19-2016, 08:54 AM
RE: Minecraft Server - by Dizzy49 - 01-22-2016, 06:06 PM
RE: Minecraft Server - by hazerty - 01-23-2016, 06:56 AM
RE: Minecraft Server - by LMHansen - 04-09-2016, 06:37 AM
RE: Minecraft Server - by androsch - 04-09-2016, 04:31 PM
RE: Minecraft Server - by LMHansen - 04-10-2016, 05:32 AM
RE: Minecraft Server - by androsch - 04-10-2016, 06:02 AM
RE: Minecraft Server - by LMHansen - 04-10-2016, 09:13 AM
RE: Minecraft Server - by damikeh - 04-12-2016, 03:20 AM
Minecraft Server - by androsch - 04-15-2016, 12:46 PM
RE: Minecraft Server - by damikeh - 04-16-2016, 05:26 AM
RE: Minecraft Server - by androsch - 04-16-2016, 05:41 AM
RE: Minecraft Server - by pine.tree - 04-18-2016, 07:05 AM
RE: Minecraft Server - by By-Jokese - 04-18-2016, 12:22 PM
RE: Minecraft Server - by cbogdan - 04-19-2016, 07:07 PM
RE: Minecraft Server - by jeremycobert - 05-06-2016, 08:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mastodon instance \ Nextcloud Server fearg 1 3,523 03-31-2020, 08:18 PM
Last Post: tllim
  Plex server arghne 59 113,024 07-06-2018, 10:36 AM
Last Post: Moshe.Vazan
  Turn your Pine64 into a music server with mpd JulianM 2 9,575 03-23-2017, 10:50 PM
Last Post: tllim
  Plex server arghne 48 39,021 03-22-2017, 04:15 AM
Last Post: pineadmin
  Pine64 as NAS/Media Server VandaL.pr! 1 5,158 12-27-2016, 10:48 AM
Last Post: Luke
  3d printer server oldsmarracin 3 4,243 09-13-2016, 02:43 AM
Last Post: JAYJAYN
  Cannot install Plex Media Server under Arch Linux malevolent 2 4,441 09-11-2016, 12:20 PM
Last Post: ChrisLane
  Building Stratum One NTP Server lospinos 5 6,438 08-23-2016, 09:23 AM
Last Post: MarkHaysHarris777
  Starbound Server. Is the Pine64 capable? iamfallen 1 3,120 08-03-2016, 10:36 AM
Last Post: MarkHaysHarris777
  Media server montero65 3 4,832 04-28-2016, 06:02 PM
Last Post: queonda

Forum Jump:


Users browsing this thread: 1 Guest(s)