1

Server started lagging one day and hasn't stopped since.

cheeseywiz98 •3/27/15 9:12 pm
•
222
•
3/30/2015 10:41 pm
So I have this vanilla server that me and my friends used to play on very often. After about a year of not playing, I decided to update it (from 1.6.2 to 1.8.3. It was originally 1.5) and start playing on that world again. But once I started playing.....I remembered why I stopped. Lag. The server lags a RIDICULOUS amount, and everyone that uses it (including myself) crashes ALL the time, and the server sometimes crashes as well.

I've ran other Minecraft servers on my computer before and they all ran WAY better than this one world in particular (even large modpack servers like FTB run way better than this one!!)

Could someone help me figure out why exactly this one world in particular lags so dang much? If you need anything else to help figure it out, just tell me what you need.

Here's a link to a download of it, if it helps: https://www.dropbox.com/sh/gxzgzia1b9bh ... Ziiua?dl=0
Posted by
cheeseywiz98
Level 1 : New Explorer
0

  Have something to say?

Join • Sign in

9

Altitude Community
• 03/30/2015 10:41 pm
• Level 32 : Artisan Pixel Puncher
SvetternI think its cuz u have a heavy plugin and does not 100% support the other plugins try to remove a few plugins that u dont need and yeah.... try that


Its a vanilla server. There are no plugins

I would suggest switching to spigot. Spigot is coded to run much more efficiently and has a config that allows you to set how many mobs will spawn among other things.

Another thing I noticed is that your starting the server with almost all of your allocated ram. Try using this:

@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre1.8.0_40\bin\java.exe" -Xincgc -Xms512M -Xmx2G -jar minecraft_server.1.8.3.jar
PAUSE


You may need to change the java.exe location. Make sure you are using the most recent version of java.
1
_ENDER_DRAGON_
• 03/28/2015 4:29 pm
• Level 26 : Expert Dragon
I didn't notice any lag, however I did notice it uses about 10%-30% more CPU usage in a Vanilla server compared to using a Spigot/Craftbukkit server.
1
cheeseywiz98
• 03/28/2015 3:21 pm
• Level 1 : New Explorer
So here's what I've found out: I set the difficulty to peaceful, and killed most of the mobs in the chunks near me, and then the lag was gone.

BUT the server wasn't portforwarded when I did that. I had to re-portforward and when I did.....then the crippling lag came back.

So... apparently there's a problem with hosting the world as a server, and not so much with just playing on the world at all.

Also, Sparkz, It started lagging before 1.8. I think It started while It was in 1.6.2 (But It didn't start lagging until long after I updated it)
1
SparkZ SMP
• 03/28/2015 1:41 pm
• Level 2 : Apprentice Network
Hello, I'm Kronix from the SparkZ SMP team.

Myself owning the SMP server(s), I have also encountered problems like this in the past. The problem with your server is not ram, java or any of that; it's a save issue. The world started on 1.5 and is now 1.8? This would be a whole new LEVEL of corruption. The world is contradicting itself because of the fact that 1.8 code is interfering with the old 1.5 world. If this was happening beofore the update then there is another explanation: from playing at least 50 different modpacks I can tell you, some worlds just spawn insane amounts of mobs. One way of getting rid of this is getting plugins, or mods to deal with the problem. If you can install bukkit, this might help turn down mob spawning http://dev.bukkit.org/bukkit-plugins/entitymanager/.

*EDIT* If you need any further help, let me know. I'll get back to you!
1
cheeseywiz98
• 03/28/2015 1:05 pm
• Level 1 : New Explorer
-UPDATE-
I made a copy of the world file, and It seems that when I killed all entities the lag would go away.
Is there a way from keeping this from happening again (Without setting mob spawns to false)?
1
raidarr
• 03/28/2015 11:41 am
• Level 22 : Expert Blockhead
You sure someone didn't set something up that is a hugely intensive process? Probably not this, but something like tons of those end crystals getting water poured on them?
1
Spikey_Helmet
• 03/28/2015 6:39 am
• Level 14 : Journeyman Network
Try using another jar file downloaded from.a trusted source and are you sure the server is using 2gig??
1
cheeseywiz98
• 03/28/2015 12:51 am
• Level 1 : New Explorer
Dark_Rayon45Its Obviously Because you dont know that there is something called a RAM usage and Java Requires Ram ...


It has 2 gigabytes of ram allocated though...
1
Spikey_Helmet
• 03/27/2015 10:22 pm
• Level 14 : Journeyman Network
Its Obviously Because you dont know that there is something called a RAM usage and Java Requires Ram ... If Your Running a Vanilla server i suggest you look up how to make your server run with atleast a 256 or a 512Mb of ram ..

here : https://www.youtube.com/watch?v=spPk_7N_l08
Not advertising

Hope i Helped
-Spike
1

Welcome