Jump to content

Help
Latest News Article

Server Lag


23 replies to this topic

#1

Posted 22 February 2012 - 07:39 PM

Hello, I have been running a server for awhile now and recently I have been having lag after about an hour of the server being up. It will be fine for ages and then will become unbearable. Nothing has changed which confuses me but I have noticed that when I open up my activity monitor (Mac) under 'Real mem' it has like a Gb of memory. When I start the server, it starts on about 500 mb and overtime it will work its way up until it reaches a Gb and then it begins to lag big time...

Posted Image

The server is running with 6GB of ram so there shouldnt be any problems there...

Thanks for any help - I have spent quite literally hours trying to solve this...

Posted Image


Register or log in to remove.

#2

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 22 February 2012 - 07:55 PM

What's your java version? Is it 32bit or 64bit?
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#3

Posted 22 February 2012 - 08:03 PM

View PostAmberK, on 22 February 2012 - 07:55 PM, said:

What's your java version? Is it 32bit or 64bit?

64 Bit

Posted Image


#4

Posted 22 February 2012 - 08:43 PM

So I left it working since my last post and so the lag begins :(

Posted Image

Posted Image


#5

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 22 February 2012 - 09:29 PM

How many people are you hosting, and what are your plugins?
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#6

Posted 22 February 2012 - 10:19 PM

View PostAmberK, on 22 February 2012 - 09:29 PM, said:

How many people are you hosting, and what are your plugins?

Players: Usually a maximum of three - the servers fairly new :P Although the 'Real Mem' still goes up even when nobody is online :(

Plugins: MagicCarpet, Orebfuscator, CreeperHeal, WorldEdit, ServerSigns, Pigasus, Buycraft, PermissionsBukkit, WirelessRedstone, BananaChunk, BetterMechanics, NarrowtuxLib, dynmap, AutoMessage, BlockEnderDragon, iConomy, Showcase, DragonTravel, BKCommonLib, SignLink, MyWarp, Simple Prefix, MobArena, MobDisguise, Zombes4Bukkit, Essentials, Factions, Citizens, EssentialsSpawn, VanishNoPacket, Dynmap-Factions, NoLagg,

Posted Image


#7

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 22 February 2012 - 10:25 PM

Mind posting a startup log? Also, are you using /reload a lot?
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#8

Posted 22 February 2012 - 10:38 PM

View PostAmberK, on 22 February 2012 - 10:25 PM, said:

Mind posting a startup log? Also, are you using /reload a lot?

Quote

Last login: Wed Feb 22 22:36:43 on ttys000
Aarons-iMac:~ Aaron$ /Users/Aaron/Desktop/SludgeCraft/start_server.command ; exit;
174 recipes
27 achievements
22:36:50 [INFO] Starting minecraft server version 1.1
22:36:50 [INFO] Loading properties
22:36:50 [INFO] Starting Minecraft server on *:25565
22:36:50 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-b1938jnks (MC: 1.1) (Implementing API version 1.1-R4)
22:36:50 [INFO] [Orebfuscator] Loading Orebfuscator v1.3.9.
22:36:50 [INFO] [Orebfuscator] Permission system not detected, defaulting to OP
22:36:50 [INFO] [Orebfuscator] Integrated ChunkScrambled enabled!
22:36:50 [INFO] [Orebfuscator] Spout not found, using non-Spout mode.
22:36:50 [INFO] [Orebfuscator] Statistics features enabling...
22:36:50 [INFO] [Orebfuscator] Version 1.3.9 enabled!
22:36:50 [INFO] [BKCommonLib] Loading BKCommonLib v1.08.
22:36:50 [INFO] BKCommonLib version 1.08 enabled!
22:36:50 [INFO] [NoLagg] Loading NoLagg v1.65.
22:36:50 [INFO] [NoLagg] Orebfuscation has been detected and will be used when sending chunks
22:36:50 [INFO] [NoLagg] Note that this may require you to set more threads used for sending!
22:36:51 [INFO] NoLagg version 1.65 enabled!
22:36:51 [INFO] Preparing level "SludgeLand"
22:36:51 [INFO] Default game type: 0
22:36:51 [INFO] Preparing start region for level 0 (Seed: 958031277)
22:36:51 [INFO] Preparing start region for level 1 (Seed: 958031277)
22:36:51 [INFO] Preparing start region for level 2 (Seed: 958031277)
22:36:52 [INFO] Preparing spawn area: 52%
22:36:52 [INFO] [MagicCarpet] Loading MagicCarpet v1.5.6.
22:36:52 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
22:36:52 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
22:36:52 [INFO] [MagicCarpet] Anyone can use the Magic Carpet.
22:36:52 [INFO] [CreeperHeal] Loading CreeperHeal v4.5.
22:36:52 [INFO] [CreeperHeal] [CreeperHeal] Loaded 0 traps
22:36:52 [INFO] [CreeperHeal] Loading config
22:36:52 [INFO] [CreeperHeal] Loading world: SludgeLand
22:36:52 [INFO] [CreeperHeal] Loading world: SludgeLand_nether
22:36:52 [INFO] [CreeperHeal] Loading world: SludgeLand_the_end
22:36:52 [INFO] [CreeperHeal] Successfully hooked in MobArena
22:36:52 [INFO] [CreeperHeal] version 4.5 by nitnelave is enabled
22:36:52 [INFO] [WorldEdit] Loading WorldEdit v5.1.1.
22:36:52 [INFO] WorldEdit 5.1.1 enabled.
22:36:52 [INFO] WEPIF: Using the Bukkit Permissions API.
22:36:52 [INFO] WEPIF: Using the Bukkit Permissions API.
22:36:52 [INFO] [ServerSigns] Loading ServerSigns v1.9.
22:36:52 [INFO] [ServerSigns] Version 1.9 is now enabled.
22:36:52 [INFO] [ServerSigns] Please download Vault at http://dev.bukkit.or...ver-mods/vault/ for Economy support.
22:36:52 [INFO] [Pigasus] Loading Pigasus v0.1.
22:36:52 [INFO] Pigasus v0.1 is enabled for worlds: [SludgeLand]
22:36:52 [INFO] [Buycraft] Loading Buycraft v3.6.
22:36:52 [INFO] [Buycraft] Loaded 1 package(s) for sale.
22:36:52 [INFO] [Buycraft] Plugin has been successfully enabled. (Version 3.6)
22:36:52 [INFO] [PermissionsBukkit] Loading PermissionsBukkit v1.2.
22:36:52 [INFO] PermissionsBukkit v1.2 is now enabled
22:36:52 [INFO] [WirelessRedstone] Loading WirelessRedstone v1.1 alpha.
22:36:52 [INFO] WirelessRedstone: WirelessRedstone version 1.1 alpha is loading...
22:36:52 [INFO] WirelessRedstone: No Permissions Detected! Defaulting to OP/Config files!.
22:36:52 [INFO] WirelessRedstone: Registering Events...
22:36:52 [INFO] WirelessRedstone version 1.1 alpha is enabled!
22:36:52 [INFO] [BananaChunk] Loading BananaChunk v4.6.
22:36:52 [INFO] [BananaChunk] version 4.6 is enabled!
22:36:52 [INFO] [BetterMechanics] Loading BetterMechanics v1.11.
22:36:52 [INFO] [BetterMechanics] Permission system not detected, defaulting to OP
22:36:52 [INFO] [BetterMechanics] Using Permissions
22:36:52 [INFO] [BetterMechanics] Loading completed.
22:36:52 [INFO] [NarrowtuxLib] Loading NarrowtuxLib v1.2.0.
22:36:52 [INFO] Version: 120
22:36:52 [INFO] [NarrowtuxLib] v1.2.0 by [narrowtux] enabled.
22:36:52 [INFO] [dynmap] Loading dynmap v0.30.1-801.
22:36:52 [INFO] [dynmap] Using Bukkit Permissions (superperms) for access control
22:36:53 [INFO] [dynmap] Loaded 14 shaders.
22:36:54 [INFO] [dynmap] Loaded 82 perspectives.
22:36:54 [INFO] [dynmap] Loaded 7 lightings.
22:36:54 [INFO] [dynmap] version 0.30.1-801 is enabled - core version 0.30.1-34
22:36:54 [INFO] [dynmap] Loaded 3 maps of world 'SludgeLand'.
22:36:54 [INFO] [dynmap] Loaded 4 pending tile renders for world 'SludgeLand
22:36:54 [INFO] [dynmap] Loaded 2 maps of world 'SludgeLand_nether'.
22:36:54 [INFO] [dynmap] Loaded 2 maps of world 'SludgeLand_the_end'.
22:36:54 [INFO] [AutoMessage] Loading AutoMessage v1.5.
22:36:54 [INFO] [AutoMessage] version [1.5] loaded
22:36:54 [INFO] [BlockEnderDragon] Loading BlockEnderDragon v1.0.
22:36:54 [INFO] [BlockEnderDragon] is enabled!
22:36:54 [INFO] [iConomy] Loading iConomy v6.0.8b.
22:36:54 [INFO] [iConomy - Celty] Enabled (13 ms)
22:36:54 [INFO] [NarrowtuxLib] Payment method found (iConomy version: 6)
22:36:54 [INFO] [Showcase] Loading Showcase v0.7.9.
22:36:54 [INFO] [Showcase] Registered type [basic] (29 items loaded)
22:36:54 [INFO] [Showcase] Registered type [finite] (0 items loaded)
22:36:54 [INFO] [Showcase] Registered type [infinite] (5 items loaded)
22:36:54 [INFO] [Showcase] Registered type [exchange] (0 items loaded)
22:36:54 [INFO] [Showcase] Registered type [tutorial] (0 items loaded)
22:36:54 [WARNING] Permissions not found! All Operations are allowed!
22:36:54 [INFO] [Showcase] version 0.7.9 has been enabled.
22:36:54 [INFO] [BKCommonLib] Showcase detected: Showcased items will be ignored
22:36:54 [INFO] [DragonTravel] Loading DragonTravel v1.8.
22:36:54 [INFO] [DragonTravel] Loaded configuration
22:36:54 [INFO] [DragonTravel] Loaded destinations
22:36:54 [INFO] [DragonTravel] Loaded stations
22:36:54 [INFO] [DragonTravel] Loaded signs
22:36:54 [INFO] [DragonTravel] Loaded player homes
22:36:54 [INFO] [DragonTravel] Enabled v1.8.
22:36:54 [INFO] [SignLink] Loading SignLink v1.16.
22:36:54 [WARNING] Plugin 'SignLink' v1.16 is too old to run on CraftBukkit build 1938
22:36:54 [WARNING] Update SignLink to a newer version or look for an older build of CraftBukkit
22:36:54 [INFO] [SignLink] Using build-in 'Bukkit SuperPerms' as permissions plugin!
22:36:54 [INFO] SignLink version 1.16 enabled!
22:36:54 [INFO] [MyWarp] Loading MyWarp v2.1.
22:36:54 [INFO] [MyWarp] [MYWARP]: 19 warps loaded
22:36:54 [INFO] [MyWarp] Access Control: Using SuperPerms
22:36:54 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
22:36:54 [INFO] [MyWarp] MyWarp 2.1 enabled
22:36:54 [INFO] [Simple Prefix] Loading Simple Prefix v1.4.5.
22:36:54 [INFO] [Simple Prefix] Essentials is Detected
22:36:54 [INFO] [Simple Prefix] PermissionsBukkit is Detected
22:36:54 [INFO] [Simple Prefix v1.4.5] Plugin enabled!
22:36:54 [INFO] [MobArena] Loading MobArena v0.94.3.24.
22:36:54 [INFO] [MobArena] Payment method found (iConomy version: 6)
22:36:55 [INFO] [MobArena] No valid recurrent waves detected for arena 'default'. Using defaults...
22:36:55 [INFO] [MobArena] No valid recurrent waves detected for arena 'grophus'. Using defaults...
22:36:55 [INFO] [MobArena] v0.94.3.24 enabled.
22:36:55 [INFO] [MobDisguise] Loading MobDisguise v1.7.
22:36:55 [INFO] [MobDisguise] by desmin88 version 1.7 enabled.
22:36:55 [INFO] [Zombes4Bukkit] Loading Zombes4Bukkit v0.1.
22:36:55 [INFO] [Zombes4Bukkit] NoClipEnabled
22:36:55 [INFO] [Essentials] Loading Essentials v2.8.2.
22:36:55 [INFO] Bukkit version format changed. Version not checked.
22:36:55 [INFO] git-Bukkit-1.1-R4-b1938jnks (MC: 1.1)
22:36:55 [INFO] 1.1-R4
22:36:55 [INFO] Essentials: Using PermissionsBukkit based permissions.
22:36:55 [INFO] [Essentials] Payment method found (iConomy version: 6)
22:36:55 [INFO] [Factions] Loading Factions v1.6.5c.
22:36:55 [INFO] [Factions v1.6.5c] === ENABLE START ===
22:36:55 [INFO] [Factions v1.6.5c] Loading board from disk
22:36:55 [INFO] [Factions v1.6.5c] Economy integration is disabled, and the plugin "Vault" is not installed.
22:36:55 [INFO] [Factions v1.6.5c] === ENABLE DONE (Took 177ms) ===
22:36:55 [INFO] [Citizens] Loading Citizens v1.1.5.
22:36:55 [INFO] [Citizens] NPC types loaded: blacksmith, guard, healer, quester, trader, wizard
22:36:56 [INFO] [Citizens] Permissions system found (PermissionsBukkit v1.2)
22:36:56 [INFO] [Citizens] version [1.1.5] loaded.
22:36:56 [INFO] [Citizens] Economy plugin found (iConomy v6)
22:36:56 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.8.2.
22:36:56 [INFO] [VanishNoPacket] Loading VanishNoPacket v3.2.
22:36:56 [INFO] [VanishNoPacket] Now hooking into Essentials
22:36:56 [INFO] [VanishNoPacket] SpoutCraft not running but you wanted SpoutCraft features.
22:36:56 [INFO] [VanishNoPacket] v3.2 loaded.
22:36:56 [INFO] [Dynmap-Factions] Loading Dynmap-Factions v0.13.
22:36:56 [INFO] [Dynmap-Factions] initializing
22:36:56 [INFO] [Dynmap-Factions] version 0.13 is activated
22:36:56 [INFO] Server permissions file permissions.yml is empty, ignoring it
22:36:56 [INFO] Done (5.649s)! For help, type "help" or "?"
22:36:57 [INFO] [Citizens] Loaded 9 NPCs.
22:36:57 [INFO] [Citizens] Loaded 0 quests.
22:36:59 [INFO] [VanishNoPacket] Found a different version available: 3.3
22:36:59 [INFO] [VanishNoPacket] Check http://dev.bukkit.or...er-mods/vanish/

I used to use /reload a fair bit but for quite awhile now I've been using /stop and then restarting it...

Edit: Oh, and the "Warning" messages all have reasons:

Showcase - Doesn't support PermissionsBukkit which is what im using...
SignLink - Hasn't had an update made for R4 yet but works fine anyway...
MyWarp - Just doesnt have a help file I suppose :P

Posted Image


#9

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 22 February 2012 - 10:52 PM

The MyWarp thing is because it doesn't detect a plugin that modifies /help. But moving on...


Using /reload would most likely be the cause of this, it creates new instances of plugins, while unloading the old ones. Most commonly, this causes memory leaks, and then you have...

I'm going to stop typing because I'm hurting my own brain. Time for bed :lol:
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#10

Posted 23 February 2012 - 07:32 AM

View PostAmberK, on 22 February 2012 - 10:52 PM, said:

The MyWarp thing is because it doesn't detect a plugin that modifies /help. But moving on...


Using /reload would most likely be the cause of this, it creates new instances of plugins, while unloading the old ones. Most commonly, this causes memory leaks, and then you have...

I'm going to stop typing because I'm hurting my own brain. Time for bed :lol:

I havent been using /reload recently though... :'(

Posted Image


#11

    Lord_Ralex

    Servers Moderator

  • Sectional Moderator
  • 3846 posts

Posted 23 February 2012 - 07:35 AM

It is possible one of your plugins has a memory leak, which will cause a major issue.

What Java are you using?

The more popular ones will not have that issue.

Posted Image

Even when all hope seems lost, just keep pushing on


#12

Posted 23 February 2012 - 04:17 PM

View PostLord_Ralex, on 23 February 2012 - 07:35 AM, said:

It is possible one of your plugins has a memory leak, which will cause a major issue.

What Java are you using?

The more popular ones will not have that issue.

Quote

Aarons-iMac:~ Aaron$ java -version
java version "1.6.0_29"
Java™ SE Runtime Environment (build 1.6.0_29-b11-402-11D50b)
Java HotSpot™ 64-Bit Server VM (build 20.4-b02-402, mixed mode)

Tried getting rid of wireless redstone and for one moment I thought that had fixed it. It hadnt :'(

Posted Image


#13

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 23 February 2012 - 04:18 PM

Mind listing all of your plugins?
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#14

Posted 23 February 2012 - 04:29 PM

View PostAmberK, on 23 February 2012 - 04:18 PM, said:

Mind listing all of your plugins?

Plugins: MagicCarpet, Orebfuscator, CreeperHeal, WorldEdit, ServerSigns, Pigasus, Buycraft, PermissionsBukkit, WirelessRedstone, BananaChunk, BetterMechanics, NarrowtuxLib, dynmap, AutoMessage, BlockEnderDragon, iConomy, Showcase, DragonTravel, BKCommonLib, SignLink, MyWarp, Simple Prefix, MobArena, MobDisguise, Zombes4Bukkit, Essentials, Factions, Citizens, EssentialsSpawn, VanishNoPacket, Dynmap-Factions, NoLagg,

Posted Image


#15

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 23 February 2012 - 04:38 PM

Try running the server without any plugins for a few hours. Does it still go up?
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#16

Posted 23 February 2012 - 05:10 PM

View PostAmberK, on 23 February 2012 - 04:38 PM, said:

Try running the server without any plugins for a few hours. Does it still go up?

I have left it running for awhile and there is no lagg so far - Infact, it isnt even coming up on the Activity Monitor...

Posted Image


#17

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 23 February 2012 - 05:16 PM

Mind sending me the plugins in a zip folder? I'm at a bit of a loss for time, and this might be quicker.
Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#18

Posted 23 February 2012 - 07:21 PM

View PostAmberK, on 23 February 2012 - 05:16 PM, said:

Mind sending me the plugins in a zip folder? I'm at a bit of a loss for time, and this might be quicker.

Sent - If anyone else would like a copy to look at, just send me a pm... ;-)

Posted Image


#19

    NINJ4

    Zombie Killer

  • Curse Premium
  • 228 posts
  • Minecraft: NINJ4

Posted 23 February 2012 - 08:15 PM

View PostTheChinski, on 22 February 2012 - 10:19 PM, said:

Players: Usually a maximum of three - the servers fairly new :P Although the 'Real Mem' still goes up even when nobody is online :(

Plugins: MagicCarpet, Orebfuscator, CreeperHeal, WorldEdit, ServerSigns, Pigasus, Buycraft, PermissionsBukkit, WirelessRedstone, BananaChunk, BetterMechanics, NarrowtuxLib, dynmap, AutoMessage, BlockEnderDragon, iConomy, Showcase, DragonTravel, BKCommonLib, SignLink, MyWarp, Simple Prefix, MobArena, MobDisguise, Zombes4Bukkit, Essentials, Factions, Citizens, EssentialsSpawn, VanishNoPacket, Dynmap-Factions, NoLagg,
I think it's the NoLagg plugin, my server was having almost the exact same issue until it became unresponsive after almost the exact time-frame mentioned.

GitHub issue report 13 for NoLagg

I recommend that you try removing NoLagg and see if that helps. If it does, bump the github issue I linked so the plugin author actually looks at it.

Posted Image


#20

Posted 24 February 2012 - 09:06 PM

View PostNINJ4, on 23 February 2012 - 08:15 PM, said:

I think it's the NoLagg plugin, my server was having almost the exact same issue until it became unresponsive after almost the exact time-frame mentioned.

GitHub issue report 13 for NoLagg

I recommend that you try removing NoLagg and see if that helps. If it does, bump the github issue I linked so the plugin author actually looks at it.

Thankyou Soooo Much! That has fixed the memory issue - Ill bump the github issue now :D

But for some reason, after awhile, the CPU goes up to like 140% from 30% and then jumps back down... I'm not sure if this is natural of what but it doesnt seem to do any damage - Just wondering...

Thanks again for everyones help :D

Posted Image