Inactive [FIX/ADMN] NoLagg v1.88.1 - Prevent common lag causes on your server [2338]

Discussion in 'Inactive/Unsupported Plugins' started by bergerkiller, Sep 17, 2011.

  1. Offline

    bergerkiller

    I had already made this plugin before after having a major lag issue. (lots of torches being filled, turned into items, lag for 20 minutes) It also works for 1060.

    Some feature ideas are taken over from PerformanceTweaks by @LexManos so some credit goes to him. Code, however, written from scratch by me. :)

    Important:

    If you get a warning message [NoLagg TLN] followed up with a stack trace in the log, this has to do with the main thread not having responded within 10 seconds. When a plugin takes more than this time to enable, it will show that. The warning is NOT an error and is no bug, and not a bug related to NoLagg. To disable this feature, disable 'threadlocknotifier' in the config.yml. This feature is mainly intended to notify you what plugin is causing the server to freeze, may it ever happen. It is used to debug plugins in general, as they may get stuck for whatever reason.

    NoLagg's features in a nutshell

    Description

    Prevent lag caused by many items

    Every time an item gets spawned, it is buffered per chunk. For example, you spawn 30 items using Q and the maximum allowed items per chunk is 20, then the 10 remaining items are not spawned. They are spawned as soon the item count in this chunk is < 20 again.

    Read more...

    Form item stacks - fully automatically

    Whenever two or more (configurable) items or experience orbs get near each other, they form a single stack of that item type. If someone drops 64 dirt blocks on the ground using Q, it will show a single item of 64 dirt instead.

    Read more...

    Prevent lag caused by TNT

    This plugin takes over tnt ignition caused by explosions. When exploding stacks of tnt, it does not rush all tnts into a single tick, but detonate them nicely in sync. This results in pretty awesome fireworks. :)

    Read more...

    Prevent lag caused by lighting glitches

    Whenever a new chunk is generated, it's lighting information is generated and all nearby players receive the updated chunk data. If the auto-method fails, you can use /nolagg fix to do it manually. This fixing fixes, for example, dark spots in and around caves lagging the client.

    Read more...

    Set entity spawn limits

    You can set a spawn limit on virtually every entity in the game. From mobs to items to TNT. Only thing being excluded is Players, since I can't simply kick someone 'like that'. :)
    Note: It removes already spawned entities too. So, if you want to keep your animals alive, don't set mob or animal limits, or it will possibly clear your farm animals. (or you can disable the spawn limiter all together)

    I recommend finding an alternative plugin for this instead. Removing entities after they are spawned causes more lag than it prevents!

    Global auto-saver

    Since asynchronous chunk saving is now implemented internally, it is no longer a problem to save entire worlds frequently. You can set auto-save intervals in the configuration. If used with an interval higher than 400 ticks (20 seconds) it will use a scheduled task instead of the internal saver to prevent chunks never getting saved. Another benefit is that player information is also auto-saved, preventing your players losing their inventory state.

    New chunk sending mechanics

    Instead of loading chunks all around the player, the player direction is used to load the visible chunks first. This means that players can expect chunks in front of them to load quickly, while chunks on the sides take a bit longer to appear. When the player looks into another direction, the direction changes and thus the new visible chunks get loaded first. Only if all chunks ahead of the player are loaded, chunks around the player are sent. This all can be configured using a simple minimum and maximum sending rate.

    Read more...

    Examining the server tick rate

    If you encounter very low tick rates and you want to find out what plugin is causing it, you can use the examine component to find it out. It comes with a graphic viewer, which makes bug tracking the easiest thing ever.

    Read more...

    Prevent cross-thread access for events

    As it seems, some plugins don't follow the rules and use Bukkit methods in another thread. This plugin will notify you and cancel if possible whenever this happens so other plugins understand their mistake. If you encounter a lot of spam in the console, first check the stack trace for the plugin that caused the error. Report this error to the author or remove the plugin, if you have questions you are free to ask.



    Configuration (on BukkitDev)

    Commands and Permissions (on BukkitDev)

    Synchronized code accessed by another thread? (BukkitDev)



    Media



    Video by brandcool86


    FAQ

    - Help I experience missing chunks
    If you are using Spout, don't use Reloads. This is also the reason why Spout added a warning when a player tries to reload the server. Not using Spout, then it's a bug which you can report.

    - Can this plugin be used with PTweaks
    (this message was really old...) Yes, they are compatible, but if certain features overlap, make sure you disable these features in either plugin.

    - I get a warning about the async auto save and interval. Wat do?
    Change the autoSaveInterval value in the configuration to a value higher than 400, like 600. The warning is to prevent endless autosaves to occur, clogging up CPU.

    - I have experienced CPU usage
    CPU usage is not the same as lag. NoLagg uses multiple (2-3) extra threads to prevent tick and network lag. If a lot has to be done, it does this quicker, but this takes more CPU obviously.

    - I have lag when using NoLagg
    See also the FAQ above. Explain what type of lag you have: tick lag, client lag, network lag and/or 'block placement' lag. You can use /nolagg monitor to check the tick rate. If this is normal (>15), then you have network lag. Client lag is when the FPS drops. Block placement lag is lag when the tick rate is normal and other network messages, like chat, are instant.

    - WorldEdit causes lag...
    YES because it is unsafe to take over the main thread while another plugin is having hold over it. I can try fixing this, but it could ultimately lead to some serious concurrency exceptions. Don't expect this to be implemented very soon...

    - Do spawn limits interfere with mob-spawning plugins like MobArena?
    No, it does not. It only limits mobs spawned by 'nature': all custom creature spawns are ignored throughout the run of the plugin. Only after you reload will it lose track of these entities and will it remove custom-spawned mobs. If you use MobArena, be sure nothing is going on when you reload the server.

    - Does item stacking interfere with Showcase or BleedingMobs?
    It supports Showcase and ShowcaseStandalone entirely. (showcased items are completely ignored at all times) The same applies to the 'particles' created by the BleedingMobs plugin. Know of a plugin where it stacks items which should not be stacked? Post the plugin name so I can add support. You are an owner and want to add support? Only having a function in your plugin to check if an item is 'ignored' is enough.

    - Can this plugin be used with Chunk Manager
    If you want to use the Chunk Manager with Nolagg, disable the chunk sending of Nolagg first. If you don't do that, this plugin will do that by itself and send a warning in the log. Of course, compare the results first. :)

    - What are the best settings if I have a lot of RAM memory?
    This plugin does not deal with reduced RAM memory. If I could, I would, but you simply can't reduce the amount of memory Java uses. This data is locked and secured, so I can't simply throw away bits of data or write and read data from/to disk. Any plugin claiming to reduce RAM usage on a server, is probably 'garbage collecting'. This fakes having less RAM usage by removing unused data, but Java does this by itself as well once it hits a certain limit. All these plugins will do is make the Garbage Collector run in overdrive, which will only kill your tick rate and/or CPU speeds. A bad thing.

    - I get a lot of 'Synchronized code accessed from another thread' errors
    Find out what plugin is acting up by inspecting the stack trace. If the plugin that causes this is inactive, all you can do is wait for a refurnished version or someone to fix it for you, or use an alternative plugin. If it's still under development, notify the author of this, it IS an error caused by that plugin. If you can't find out the cause, PM me or post in this thread.


    Before you begin writing a lag issue

    This is very important, just posting a 'it causuz lagz und shitz' won't do, won't help and I won't be able to help you any further either. Question is if I even want to help you, if you post such a message without anything worth looking at. Things to include in your message:
    - Errors in the log if possible
    - What CB version you use and what NoLagg version you use
    - When this lag occurs. Tick rate drop in general?
    - The configuration you used when running this plugin
    - What type of lag if applicable. Options are: tick lag, client lag, network lag (see above)

    Important links

    NoLagg Download page and others at Dev Bukkit
    View the source code of NoLagg at GitHub

    Use an archive extracting program (WinRar, WinZip) to open the archive.

    TODO-list:
    - Add option to disable physics when the tick delay becomes too high

    Changelog

    Show your appreciation for my plugins by donating
    [​IMG]
     
  2. Offline

    rtcabooservb

    Haven't used orebfuscate since November, so I wouldn't know. :p I was going to test/add it back once NoLagg has 100% compatibility for it.
     
  3. Offline

    lishid

    The recent update has so much more optimization to it, you won't even notice any lag (except when you actually try to use x-ray hack, it might lag alot, or it might just crash your minecraft :D)
     
  4. Offline

    rtcabooservb

    Awesome. I'll add it once nolagg updates, therefore I have more than one reason to take down the server for an update.

    lishid One thing I noticed though when I use to use it, when editing land with voxelsniper or worldedit, whether you are adding land or removing land, sometimes you will see ores magically appear that are not there and that is without an xray client mod or invisible textures.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  5. Offline

    bergerkiller

    rtcabooservb probably a bug in the ore obfuscator, but actually, it can't know if a block disappears because of world editing tools. No block break event is fired.

    lishid I'll use 5 threads and see what happens. Alone on a server running the ore obfuscater, it never reached higher than 30-40% busy percentage when processing. But, as the amount of players increase, you may need more threads than you expected. (the busy identifier is a nice way to find out just how much)

    haven't seen missing chunks or anything, but that is probably because I don't let Spout handle my chunks. They get directly sent to the client (not even a packet event is received, maybe for the tile entities later on) using sendpacket, I handle the packet event manually if spout is enabled. Only thing bugging me is that Spouts' 'chunk cache' is not used this way, problem is that I have no idea how this works...

    EDIT

    Added a synchronized netserverhandler lock, you were right about it. Probably still causes some issues, but should be less often. Running on 5 compression threads: chunk send rate is just..sick...lol

    Uploaded NoLagg 1.57.9. Multi-thread chunk compression (and handling by Spout) has been added, adding support for all spout-used chunk obfuscation plugins. Non-spout versions may not work/doubtful, since they probably don't receive the packet.

    Also, it will now remove entities stored outside the chunk. For example, the 'entity chicken stored at chunk x while is on chunk y, these occasions will now be properly dealt with. Those log messages get annoying at some point...

    Buffered chunk PACKET sending has been improved a lot. Instead of allocating 80 kb for every packet, it uses a low initial size of 8 kb per packet. This has a great positive impact on memory increase rates, but any Spout plugin that clones the raw data will probably invalidate this effect in the end.

    The performance monitor now shows the 'busy' percentage of the chunk compression (handling) thread. Default thread count is 2, may this be too much (or too less, depends on your cpu vs. player count), you can adjust it in the configuration. (under the same 'sending' node)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  6. Offline

    lishid

    Well, it's really hard to know when another plugin modifies blocks.

    Are you making sure that packets go through NetServerHandler if spout is not installed? That's where my plugin gets packets if spout is not installed.
     
  7. Offline

    bergerkiller

    lishid your plugin is working, been running it here for hours :)
    With 5 threads..it is pretty sick-fast considering how much it has to process. And that on a dual-core 2.0 ghz cpu...lol

    Code:
                if (NoLagg.isSpoutEnabled) {
                    try {
                        MCCraftPacket51MapChunk mcpacket = new MCCraftPacket51MapChunk();
                        mcpacket.setPacket(mapchunk, 51);
                        PacketListeners.canSendUncompressedPacket(player, mcpacket);
                    } catch (Exception ex) {
                        ex.printStackTrace();
                    } catch (Throwable t) {
                        NoLagg.log(Level.SEVERE, "Spout support has been disabled: a fatal error occurred:");
                        t.printStackTrace();
                        NoLagg.isSpoutEnabled = false;
                    }
                }
    EDIT

    Mmh I see I didn't let it deny chunks from getting sent...could be a problem. Is not too much of an issue though, I'll fix that in 1.58. (together with the entity limiter stuff acting odd)

    EDIT

    Also, an entity limit of -1 equals 'infinite', so 'no limit'. But, it won't work if you set a mob limit too and a separate entity -1, that will not exclude that limit. (-1 is, simply put, no limit set)
     
  8. Offline

    OkinKun

    I'm getting the same type of error.. I want to set limits per-world, but the plugin is adding extra -1 limits, under the "worlds:" category, which is clearly the wrong place for those, as the spacing/indentation would mean those should be world-names. As a result, the limits aren't functioning properly in those worlds, or are off completely.

    This is what it does to my config:
    Code:
    spawnlimits:
      default:
        mob: 400
      worlds:
        creative:
          mob: 100
        mob: -1
      global:
        mob: 500
    That "mob: -1" shouldn't be there. Right?

    I'm also getting this error, with version 1.57.9 on 1781:
    Code:
    20:20:53 [INFO] [NoLagg] Loading NoLagg v1.57.9.
    20:20:53 [SEVERE] Error occurred while enabling NoLagg v1.57.9 (Is it up to date
    ?): org/getspout/spout/packet/standard/MCCraftPacket
    java.lang.NoClassDefFoundError: org/getspout/spout/packet/standard/MCCraftPacket
     
            at com.bergerkiller.bukkit.nolagg.NoLagg.loadConfig(NoLagg.java:188)
            at com.bergerkiller.bukkit.nolagg.NoLagg.onEnable(NoLagg.java:109)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:232)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1034)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:252)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173
    )
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: org.getspout.spout.packet.standard.
    MCCraftPacket
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            ... 12 more
     
  9. Offline

    dockter

    I've noticed that chunk loading had gotten really slow with 1.57.9, but im using 1772 still since ci.bukkit.org is down, not sure if thats part of the issue.

    I changed the ThreadCount in the config from 2 to 5, that helped a lot.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  10. Offline

    bergerkiller

    dockter mmh It's possible that I used a too high 'sleeping' delay (200 ms), I guess it takes too long for NoLagg to start processing newly arrived chunks. Using more threads will increase the chance of a thread starting on it, but it's a bit pointless to do it that way. I'll add some better delay to it.

    EDIT

    Fixed that error by placing spout-related coding in a separate class. I'll also add an option to use 0 threads (run all on main thread)

    EDIT

    Found the configuration 'bug', I was using the 'worlds:' node to obtain the limits, while I should have used the world [name] node instead. Since my custom configuration automatically sets defaults if not found, it set them to -1 (not set)
     
  11. Offline

    shauwk

    im getting this still

    20:20:53 [INFO] [NoLagg] Loading NoLagg v1.57.9.
    20:20:53 [SEVERE] Error occurred while enabling NoLagg v1.57.9 (Is it up to date
    ?): org/getspout/spout/packet/standard/MCCraftPacket
    java.lang.NoClassDefFoundError: org/getspout/spout/packet/standard/MCCraftPacket

    at com.bergerkiller.bukkit.nolagg.NoLagg.loadConfig(NoLagg.java:188)
    at com.bergerkiller.bukkit.nolagg.NoLagg.onEnable(NoLagg.java:109)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:232)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1034)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:252)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173
    )
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: org.getspout.spout.packet.standard.
    MCCraftPacket
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 12 more
     
  12. Offline

    housemaster

    Getting this too.
     
  13. Offline

    bergerkiller

    Ok updated it to 1.58, fixes:
     
  14. Offline

    shauwk

    hey i just used this update and it did the chunk teleporting thing everywhere, luckily it didnt save, i removed nolagg for now
     
  15. Offline

    bergerkiller

    shauwk how is that..I don't even...I didn't even touch the buffered chunk loader this time... :/
    What CB version and what plugins did you use?
     
  16. Offline

    Fishfish0001

    Just to confirm: That chunk bug is now fixed, so when someone leaves the chunk is saved correctly?
     
  17. Offline

    bergerkiller

    Fishfish0001 Everything saves here correctly, when leaving and rejoining, when teleporting cross worlds, when starting and stopping the server, when loading and unloading chunks frequently, when flying around at high speed, when performing global save command and then killing the server, when the auto-saver saves and when new chunks are generated...

    If any chunk issue exists, it can only be caused by outdated craftbukkit builds, another plugin interfering or some other sort of thing. I have no issues, but others may still have...
     
  18. Offline

    shauwk

    creeperheal, worldguard/edit, orebfuscator, no cheat, are my other plugins , the nolagg version before this one was working normal though 1783 bukkit im on
     
  19. Offline

    bergerkiller

    shauwk Does the same happen when removing orebfuscator? It is possible that he added some sort of custom threading system...and yeah...in NoLagg I re-use packet raw data. If he stores it, it will cause chunk PACKETS to be mixed around. (won't cause actual chunk damage though)
     
  20. Offline

    Fishfish0001

    @ bergerkiller Thanks for the confirmation :)

    Time to start blowing up TnT again.
     
  21. i think the start of this error is from Worldedit since i updated it but the rest of it is NoLagg plugin error. wtf?
    ive updated these and im using R1 bukkit
    Code:
     
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE] Unexpected exception
    java.lang.IllegalAccessError: tried to access class gnu.trove.map.hash.TLongObjectHashMap$TLongObjectHashIterator from class gnu.trove.map.hash.TLongObjectHashMap
    at gnu.trove.map.hash.TLongObjectHashMap.iterator(TLongObjectHashMap.java:387)
    at org.getspout.commons.util.map.TIntPairObjectHashMap.iterator(TIntPairObjectHashMap.java:52)
    at org.getspout.spout.inventory.AbstractBlockManager.onPlayerJoin(AbstractBlockManager.java:70)
    at org.getspout.spout.inventory.SimpleMaterialManager.onPlayerJoin(SimpleMaterialManager.java:73)
    at org.getspout.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.java:79)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:189)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:38)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-8, 17] to player semirotta
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-16, 16] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-8, 16] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-16, 15] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-8, 15] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-12, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-13, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-11, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-14, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-10, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-15, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-9, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-16, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-8, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-17, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-7, 20] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-17, 19] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-7, 19] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-17, 18] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-7, 18] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-12, 21] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-13, 21] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-11, 21] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [INFO] Reading data
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-14, 21] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] [NoLagg] Failed to send map chunk [-10, 21] to player semirotta
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    2012-01-18 19:56:02 [SEVERE] java.lang.NoSuchFieldError: buffer
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.BufferedPacket51MapChunk.<init>(BufferedPacket51MapChunk.java:40)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread$QueuedPacket.getPacket(ChunkSendThread.java:136)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.handle(ChunkSendThread.java:172)
    2012-01-18 19:56:02 [SEVERE]at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.run(ChunkSendThread.java:222)
    
     
  22. Offline

    bergerkiller

    Also, if you have any issues, you can disable chunk sending/buffered chunk loader. They are not critical parts in this plugin and can easily be disabled may they prove faulty.

    Now noticed that, when using too many chunk sending threads, it will cause overflow disconnections. Not very nice, so got to see what is going on. I'll probably have to re-invent all of this...

    Semirotta unrelated to NoLagg, you'll have to report that to spout. (it's a Spout error as it seems)
    Too soon :)
    You have to update your Craftbukkit server.
     
  23. front page has only R1 bukkit...as recommended
     
  24. Offline

    OkinKun

    We seem to be having an issue with Chunk Sending in v1.58, with it enabled people were getting block-place-lag, and disconnect every 10 seconds, with an "End of Stream" message.
    Code:
    2012-01-18 13:03:46 [SEVERE] java.net.SocketException: Socket closed
    2012-01-18 13:03:46 [INFO] Connection reset
    2012-01-18 13:03:46 [SEVERE]    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
    2012-01-18 13:03:46 [SEVERE]    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    2012-01-18 13:03:46 [SEVERE]    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    2012-01-18 13:03:46 [SEVERE]    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    2012-01-18 13:03:46 [SEVERE]    at java.io.DataOutputStream.flush(DataOutputStream.java:123)
    2012-01-18 13:03:46 [INFO] usernamehere lost connection: disconnect.overflow
    2012-01-18 13:03:46 [SEVERE]    at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)
    With Chunk Sending disabled, it seems to be running fine now, not sure if "useBufferedChunkLoading: true" is also problem tho, or if I should disable it too, because even with it enabled, I haven't noticed any problem so far.

    I was using the default chunk sending settings, and running Bukkit Build 1781.

    I've also noticed that, even with chunk sending disabled, I get this error when I stop the server:
    Code:
    2012-01-18 15:55:40 [SEVERE] Error occurred while disabling NoLagg v1.58 (Is it up to date?): null
    java.lang.NullPointerException
        at com.bergerkiller.bukkit.nolagg.sending.ChunkSendThread.deinit(ChunkSendThread.java:65)
        at com.bergerkiller.bukkit.nolagg.NoLagg.onDisable(NoLagg.java:158)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:234)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:1060)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:270)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:263)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:185)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:384)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:464)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 10, 2018
  25. Offline

    bergerkiller

    Semirotta Yes, but in the meantime a lot of new craftbukkit versions got added (for MC 1.1) which are not yet recommended. Since the transition is quite huge, I decided to follow the path of the non-RB builds.

    OkinKun You can try setting the 'sendThreadCount' to 0 in the configuration. It then fully runs on the main thread, not using additional threads. I believe it has some synchronization problems somewhere, as I had some overflow disconnections as well.
     
  26. Offline

    rtcabooservb

    bergerkiller I've also been experiencing overflow and players who can't stay logged in for more than a few seconds since the latest update.

    2012-01-18 11:56:17 [INFO] RxnToxic lost connection: disconnect.overflow
    2012-01-18 11:56:17 [SEVERE] java.net.SocketException: Socket closed
    2012-01-18 11:56:17 [SEVERE]at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2012-01-18 11:56:17 [SEVERE]at java.net.SocketOutputStream.write(Unknown Source)
    2012-01-18 11:56:17 [SEVERE]at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2012-01-18 11:56:17 [SEVERE]at java.io.BufferedOutputStream.flush(Unknown Source)
    2012-01-18 11:56:17 [SEVERE]at java.io.DataOutputStream.flush(Unknown Source)
    2012-01-18 11:56:17 [SEVERE]at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)
     
  27. Offline

    sagethor

    bergerkiller
    Using the latest version with the latest CB 17 hours ago, chunks will load pretty much no blocks and mobs. I'm using the default settings for the threads, which is 2.

    EDIT - /nolagg monitor is not responsive and turns out no info.

    EDIT EDIT - Saw new version.
     
  28. Offline

    offdps

    I'm using WorldEdit for WorldGuard's region protection & for occasionally cleaning up smaller griefs. I noticed how it says WorldEdit isnt good while running NoLagg but does this count if it's basicly only used for region protection?
     
  29. Offline

    bergerkiller

    offdps can't see how World edit can be bad, all it does is change blocks anyway. Region protection is also fine.

    OkinKun Wonder how I managed to miss so much, must be because I was speedcoding...and usually speedcoding ends up in missed bugs...

    I'll have a look at this later on, got to focus on more important things in the next 2 days (school)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2018
  30. Offline

    winking

    Bukkit #1782
    nolagg 1.58

    There are seldom players on my server.
    But my cpu utilization is always very high,and upload bandwidth(8M) is entire occupied.
    Why??please help.

    [​IMG]

    [​IMG]
     
  31. Offline

    Kademlia

    Disable Chunk sending in config

    chunkSending:
    enabled: false
    minRate: 0.25
    maxRate: 2.0
    boost: 25
    sendThreadCount: 2
     

Share This Page