1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Bug Disconnecting everyone with "end of stream"

Discussion in 'Bugs & Feature Requests' started by Floww, Feb 23, 2013.

  1. Since some weeks everyone gets disconnected with "endOfStream"

    There are two servers on the same box, but when this happens, everything is nice on the second server.
    I already updated plugins and removed some. Problem still occurs.

    It starts with a huge freeze (about 5-10 seconds) and then everyone gets kicked out but everyone can connect again immediately.

    I tried the recommend build and #562. It happens random. :(

    Here are my plugins:
    [INFO] Plugins (49): QuickShop, FreeCraftSign, Minequery, WorldEdit, CommandAlert, PluginManager, StarterKit, FreeCraftEvent, Vault, Backpack, Stargate, SimpleHelpTickets, PlotMe, PermissionsEx, LogBlock, LWC, WorldGuard, NoobProtector, MCDocs, SimpleWarnings, dynmap, AutoMessage, FreeCraftSpam, AuthMe, AntiAd, FreeCraft, FreeCraftBoats, LimitedCreative, CommandHelper, CraftBook, ChestShop, ClearLag, Votifier, Herochat, mcMMO, PvPLog, Essentials, PrefixedPlayerlist, LagMeter, WorldBorder, SimpleRegionMarket, ServerSigns, FreeCraftChat, Multiverse-Core, HomeSpawnPlus, Autorank, CompatNoCheatPlus, NoCheatPlus, Multiverse-Inventories

    Does anyone know why this could happen or how to fix it?
     
  2. Puremin0rez

    Moderator

    During this time that everyone gets disconnected, is the server responsive?

    It sounds to me like the server pauses so long from a naughty plugin that it drops everyone. I've had similar issues in the past.
     
  3. No, it doenst response to any command in console but the other server is fine.

    And it cannot be high I/O load because it runs in ramdisk.
     
  4. Puremin0rez

    Moderator

    Hmm very strange problem
     
  5. Check your network for DDoSes ect.
     
  6. If it would be a ddos, noone could play on the second server.
     
  7. prob a plugin then.
     
  8. Experiencing nearly the same issue on an otherwise empty Ubuntu 12.04 VPS. CraftBukkit works fine. Spigot #485 works fine. Recent Spigot builds disconnect everyone with end of stream.
     
  9. SuperSpyTX

    Supporter

    Any logs that could be provided that show this happening?
     
  10. It's just the "username lost connection" message. Nothing else. I can get actual logs soon.
     
  11. Wasnt good with #485. I'm now running #572 and havent seen the problem so far. Lets see^^
     
  12. Just happended again. :-( #572

    20:45:44 [INFO] Mr_Prooxy lost connection: disconnect.endOfStream
    20:45:44 [INFO] Zyancali lost connection: disconnect.endOfStream
    20:45:44 [INFO] Bolumia lost connection: disconnect.endOfStream
    20:45:44 [INFO] raptorroy99 lost connection: disconnect.endOfStream
    20:45:44 [INFO] kaleev lost connection: disconnect.endOfStream
    20:45:44 [INFO] Natriumnitrit lost connection: disconnect.endOfStream
    20:45:44 [INFO] Christoph2204 lost connection: disconnect.endOfStream
    20:45:44 [INFO] jamaki5 lost connection: disconnect.endOfStream
    20:45:44 [INFO] Utla lost connection: disconnect.endOfStream
    20:45:44 [INFO] oOMachineHeadOo issued server command: /spawn
    20:45:44 [INFO] /84.147.135.97:56714 lost connection
    20:45:44 [INFO] /xx.60.212.229:63263 lost connection
    20:45:44 [INFO] /xx.60.212.229:63269 lost connection
    20:45:44 [INFO] /xx.255.237.21:52675 lost connection
    20:45:44 [INFO] /xx.193.245.213:62437 lost connection
    20:45:44 [INFO] /xx.105.225.128:50407 lost connection
    20:45:44 [INFO] /xx.105.225.128:50408 lost connection
    20:45:44 [INFO] /xx.105.225.128:50409 lost connection
    20:45:44 [INFO] /xx.105.225.128:50410 lost connection
    20:45:44 [INFO] /xx.105.225.128:50411 lost connection
    20:45:44 [INFO] /xx.105.225.128:50412 lost connection
    20:45:44 [INFO] /xx.4.149.29:62510 lost connection
    20:45:44 [INFO] /xx.193.245.213:62445 lost connection
    20:45:44 [INFO] /xx.105.225.128:50413 lost connection
    20:45:44 [INFO] /xx.105.225.128:50414 lost connection
    20:45:44 [INFO] /xx.105.225.128:50415 lost connection
    20:45:44 [INFO] /xx.105.225.128:50416 lost connection
    20:45:44 [INFO] /xx.105.225.128:50417 lost connection
    20:45:44 [INFO] /xx.105.225.128:50418 lost connection

    But not everyone got kicked o_O
     
  13. Is this happen when someone is changing their gamemode?
    If yes then follow this

    Check who is changing game mode.
    check below folders

    \plugins\Multiverse-Inventories\players
    \plugins\Multiverse-Inventories\worlds\world
    .
    .
    all world folders

    easy way: go to your server folder and search file name with that userID, it will give all files for that username.

    check if that player have abnormal file size (ex. 100MB or 400MB etc.,) in any of above folders.

    also check if his data file in all world folders (not multiverse inventory world but minecraft world i.e. server folder\world\players) is abnormal.

    If that player have abnormal file size then stop server, delete those files, and restart server. This will sure fix above issue. That player will lose his xp, inventory, etc.,

    Most important: Make sure that player is not using any hack client, because i have personally found that such abnormal file size generates when players uses hack/cheat clients like kinky or obsidian etc.
     
  14. joehot200

    Supporter

    Just fix your plugins from freezing the server. Surely it cant be that hard.

    If you want get a timings report to find your lag cause.