Random lags and crashes

Discussion in 'Bukkit Help' started by Regulus123, Jun 14, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Regulus123

    Hello. I used to run server for 50-70 players but now it can't even hold 20 players because server is crashing. I tried to use NoLagg but it lags my server even more. After random amount of time server lags, nobody can move, break or chat then everybody disconnects with message "ReadTimeOut" or "Connection lost" or "EndOfStream". At the moment I'm using CraftBukkit++ because lags are smaller but it's still unplayable. On default CraftBukkit server was crashing even after 2-5 minutes.
    Firstly:
    • Procesor: Intel® Core™ i7-2600
    • RAM: 32 GB DDR3
    • HDD: 2 x 3 TB SATA 6 Gb/s
    • Network: 1 Gbit connected at 100 Mbit
    Linux Debian 6
    Secondly:
    AuthDB, Chestshop, Craftbook(all plugins), CraftBukkitUpToDate, Essentials(Core+Chat+Spawn), InventorySQL, LWC, MobBountyReloaded, MyHome, Orebfuscator, PEX, Ptweaks, ScheduledAnnouncer, SimpleRegionMarket, Vault, WorldEdit, WorldGuard, iConomy.
    Thirdly:
    Script used to start server:
    I think that's all, let me know if you need any more informations. I can even send configuration for every plugin.
    Cheers!
     
  2. Offline

    Sleaker

    pretty sure NoLagg doesn't work with CB++, but as a general rule, Bukkit forums aren't for getting help with unofficial builds of CB. If you need help you'll need to direct your attention to the creator of the unofficial build.
     
  3. Offline

    Regulus123

    Well, I was running on CB since Beta1.2 I think and everything was okay. I only switched to CB++ to check if it makes any difference but as I see almost nothing changed, that's why I'm asking here. I've got no damn idea what could make my server so useless :confused: This machine is a freaking MONSTER.
     
  4. Offline

    Sleaker

    Then you should post up saying you were getting crashes with CB (and please give the EXACT version), not CB++. Otherwise you wont get any help.

    iConomy6 has a few issues, though I'm not sure if it can cause a complete lockup. I know I've had reports of iCo6 wiping all user data, and running extremely slow, or not reporting proper data during transactions.
     
  5. Offline

    Regulus123

    Last edited by a moderator: May 26, 2016
  6. Offline

    andrewpo

    I sometimes experience the same issue, we have the following plugins in common:
    Essentials(Core+Spawn), PEX, Vault, WorldEdit, WorldGuard.

    Are all your plugins up to date with the latest stable releases from dev.bukkit.org?
     
  7. Offline

    Sleaker

    as an aside, I can Guarantee that Vault can in no way lock a server, ever.
     
  8. Offline

    Danimal

    I have been having the same problem with my Craftbukkit latest build. It crashes and lags a lot, we have a few plugins that are the same.

    Simular plugins (Iconomy6, Vault, chestshop, and essentails (spawn, core, chat).)
     
  9. Offline

    [qwerty]

    I have this problem sometimes too, anyone know why?
     
  10. Offline

    jaboy

    try the WorldGuard config

    Code:
    regions:
     
    high-frequency-flags: true
    set that to false

    and setOrebfuscator to mode 1 ..

    and if notthing works ... try turning off Orebfuscator
     
  11. Offline

    [qwerty]

    Hmm, what does high frequency flags mean?
     
  12. Offline

    jaboy

    it is for stuff that updates alot ... like waterflow, fire, redstone etc
     
  13. Offline

    [qwerty]

    I think Orebfuscator is conflicting with nolagg anyways. I should remove one.
     
  14. Offline

    jaboy

    last time i checked ... no they dont (confirmed by both developers)
     
  15. Offline

    [qwerty]

    Code:
    2012-06-14 22:57:39 [INFO]2012-06-14 22:57:40 [WARNING] Could not properly handle event CHUNK_LOAD:
    java.lang.IllegalAccessError: Synchronized code got accessed from another thread: com.bergerkiller.bukkit.common.AsyncTask$1
    at org.bukkit.event.Listener.onChunkLoad(Listener:0)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    at com.bergerkiller.bukkit.nolagg.examine.TimedChunkProviderServer.getChunkAt(TimedChunkProviderServer.java:147)
    at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:105)
    at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:69)
    at lishid.orebfuscator.obfuscation.Calculations.Obfuscate(Calculations.java:398)
    at lishid.orebfuscator.obfuscation.Calculations.Obfuscate(Calculations.java:189)
    at com.bergerkiller.bukkit.nolagg.chunks.ChunkCompressionThread.getCompressedPacket(ChunkCompressionThread.java:225)
    at com.bergerkiller.bukkit.nolagg.chunks.ChunkCompressionThread.run(ChunkCompressionThread.java:262)
    at com.bergerkiller.bukkit.common.AsyncTask$1.run(AsyncTask.java:20)
    2012-06-14 22:57:40 [INFO] This error is logged only once: it could have occurred multiple times by now.
    2012-06-14 22:57:40 [INFO] Please contact one of the authors of plugin 'BKCommonLib': bergerkiller
     
  16. Offline

    jaboy

    you got both plugins updated ?... i have both ... and they run just fine
     
  17. Offline

    Regulus123

    Both were at that stage so there was nothing to change.

    The only thing that makes everything weird is that, there are no errors nor announcements in console, just plain lag, nothing is happening for several seconds, and then POOF, everybody disconnects from server. I update all my plugins every few days so maybe there's only a problem with iConomy, which hasn't been updated since April I think.
     
  18. Offline

    jaboy

    try removing ptweaks and install nolagg instead
     
  19. Offline

    Regulus123

    As I said earlier NoLagg was lagging my server even more so I changed it to Ptweaks, which improved situation a little but it didn't fix my problem.
     
  20. Offline

    jaboy

    that is because the main server tread is overloaded .....
    it could be because someone is using worldedit or because the server need to update too much (like redstone clocks, water, mobs, etc)

    try typing /stoplag
    Did that fix it ?

    /stoplag will remove all drops, mobs and stop water and redstone from updating
    (to turn it off type /stoplag -c)
     
  21. Offline

    Regulus123

    But it looks like all have less than 20% of usage all the time so I've got no idea what's going on.
    So it looks like I have to prepare a plugin or script which will use /stoplag every few minutes in order to prevent server from lags. Is that correct?
     
  22. Offline

    jaboy

    20% cpu usage ?

    since minecraft can only use 1 core ... and your cpu have 4 cores ... staying at 20-25% is a sign that the server is overloaded ... not the plugins

    i say you dont need a script but
    try to install a mod that can limit mob spawn
    and make it a server rule that its not allowed to leave redstone clocks and stuff on

    and if you install nolagg ... make a /stoplag ... and make a /nl examine ... nolagg makes a "log file" over what is taking a lot of resources

    but if you make a script that uses /stoplag ones in a while ... i would love a copy :p
     
  23. Offline

    Regulus123

    Around 15 people online, 2 worlds+nether. Worlds loaded into RAMDisc. I'll take a look on that log file and post results soon.
    Looks like that:
    [​IMG]
     

    Attached Files:

  24. Offline

    Regulus123

    It looks like I found the answer:
    [​IMG]
    I should change AuthDB to other plugin, right?
     
  25. Offline

    mindless728

    Or remove it completely as your server should be in online mode as we don't support piracy of the minecraft client (ie GTFO if you do)
     
  26. AuthDB is lagging when a player joins, same issue.

    Anybody an alternative for authdb?
     
  27. Offline

    Regulus123

    AuthMe or xAuth.
     
Thread Status:
Not open for further replies.

Share This Page