Consistant Server Crashing (End of Stream)

Discussion in 'Bukkit Help' started by Crumble, Jul 22, 2012.

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



    For the last few weeks my server has been enduring a consistant crash that occurs at random and causes all players on the server to be disconnected (thrown off with an end of stream error).

    The current specs of the server are:
    Intel Pentium E5400 Dual Core / 1.6 GHz,
    3GBs of DDR2 SDRAM.
    and overly nice internet upload/download.

    Here is a copy of the .bat file we use (to show RAM allocated):
    TITLE FineMines
    "C:\Program Files\Java\jre7\bin\java.exe" -Xms1536M -Xmx2024M -jar craftbukkit-1.2.5-R4.1-20120702.203859-26.jar
    Here are the plugins we currently have installed:
    WorldEdit 5.3 Whitelisted 1.0.4 PermissionsBukkit 1.6
    Backup 1.8.9 ConsoleName 1.2 Vault 1.2.14-b164
    Questioner 0.6 WorldGuard 5.5.2 dynmap 0.40-1180
    Chairs 1.3 iConomy 7.0 Register 1.8
    HawkEye 1.0.7b BKCommonLib 1.18 mcbans 3.7.1
    My Worlds 1.45 MobDisguise 1.81 MoneyDrop 1.6.2
    Essentials 2.9.2 CreeperHeal 4.13 EssentialsProtect 2.9.2
    EssentialsSpawn 2.9.2 VanishNoPacket 3.8.1 LWC 4.2.1 (b700-git-MANUAL) (May 20, 2012)
    Factions 1.6.7 Dynmap-Factions 0.17
    I've tried to remove certain plugins that are known to use more RAM (such as dynmap and creeperheal) although the issue still exists. We only get an average of 4 - 8 players online although the crashing is still occuring.

    Any advice would be highly appreciated. Thank you everyone.

    A screenshot of the log when the crash occurs will be provided when possible.

    Additionally, the server is running dedicated on Windows 7 with no other programs or functions running (besides the background processes / Windows explorer).

    Here is the console / log of the last crash:

    2012-07-21 22:55:48 [INFO] FearlessKage lost connection: disconnect.endOfStream
    2012-07-21 22:55:48 [INFO] EricaMarie lost connection: disconnect.endOfStream
    2012-07-21 22:55:48 [INFO] [MCBans] FearlessKage has disconnected!
    2012-07-21 22:55:48 [WARNING] Jellykins dropped their items too quickly!
    2012-07-21 22:55:48 [INFO] [MCBans] EricaMarie has disconnected!
    2012-07-21 22:55:48 [INFO] Connection reset
    2012-07-21 22:55:48 [INFO] [MCBans] Jellykins has disconnected!
    2012-07-21 22:55:48 [INFO] Morgren lost connection: disconnect.endOfStream
    2012-07-21 22:55:49 [INFO] [MCBans] Morgren has disconnected!
    2012-07-21 22:55:49 [INFO] Soxertef lost connection: disconnect.endOfStream
    2012-07-21 22:55:49 [INFO] [MCBans] Soxertef has disconnected!
    2012-07-21 22:55:50 [INFO] / lost connection
    2012-07-21 22:55:50 [INFO] / lost connection
    2012-07-21 22:55:50 [INFO] / lost connection
    2012-07-21 22:55:50 [INFO] / lost connection
    2012-07-21 22:55:50 [INFO] / lost connection
    2012-07-21 22:55:50 [INFO] / lost connection
    2012-07-21 22:55:50 [INFO] ikitsune lost connection: disconnect.endOfStream
    2012-07-21 22:55:50 [INFO] [MCBans] ikitsune has disconnected!
    2012-07-21 22:55:50 [INFO] [PLAYER_COMMAND] Thecathugger: /f home
    2012-07-21 22:55:50 [INFO] Thecathugger lost connection: disconnect.endOfStream
    2012-07-21 22:55:50 [INFO] [MCBans] Thecathugger has disconnected!
    2012-07-21 22:56:03 [INFO] EricaMarie [/] logged in with entity id 13056154 at ([ITSFINE] 367.5799346379998, 60.0, -212.7160190927864)
    2012-07-21 22:56:04 [INFO] Jellykins [/] logged in with entity id 13056807 at ([ITSFINE] -8656.618826710583, 63.0, -601.5749999880791)
    2012-07-21 22:56:08 [INFO] Morgren [/] logged in with entity id 13057982 at ([ITSFINE] 85.23421376644644, 72.0, 495.59514740496803)
    2012-07-21 22:56:10 [INFO] FearlessKage [/] logged in with entity id 13058988 at ([ITSFINE] -8657.440944697673, 64.0, -603.5254545022781)
    2012-07-21 22:56:10 [INFO] ikitsune [/] logged in with entity id 13058990 at ([ITSFINE] 214.62401826754112, 64.0, 4807.635152555575)
    2012-07-21 22:56:14 [INFO] Soxertef [/] logged in with entity id 13059388 at ([ITSFINE] -138.1509302767967, 63.0, 45.92979416214633)
    2012-07-21 22:56:17 [INFO] Thecathugger [/] logged in with entity id 13059978 at ([ITSFINE] -175.5, 63.0, 46.5)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 27, 2016
  2. Offline


    I have the exact same problem, no error just everyone disconnects..
    PapiDimmi likes this.
  3. Offline


    By change, what is the processor speed on your server?

    I discussed this a earlier with a server administrator and he said it was possible that the processor on the computer can't handle the server / the amount of players so it ends up hanging the server (non responsive) then kicks them all off.

    Could someone give a better explanation of this or say if it could be another issue?
  4. Offline


    I have 2.3Ghz, but it's not a CPU problem, I switched hosts and the same error occurs.

    Basically it's not a ram nor CPU problem, it has something to do with the server files, ask the administrator of your server to see if "your outbound traffic is high" because mine is on both, and every time it crashes the outbound traffic is high
  5. Offline


    I'm the administrator and owner of the server (self-hosted), and it may be that it's 4:30AM but forget where I would check that / how to access it.

    One issue I've noticed is that moments before it does crash and kick all players off, the console becomes unresponsive and I'm unable to type anything into it. No messages are sent from the server and the entire console window is simply hanging. As soon as this ends, all the players are then forced off (likely from the amount of time it was unresponsive), then anything typed is then displayed.

    I do agree it doesn't seem like a CPU issue, but not exactly sure what would cause it assuming it's not being overloaded with traffic. With a computer like that (and high speed internet), having less then a dozen players online shouldn't be crashing it from traffic / data.
  6. Offline


    Probably a plugin omnomnoming all resources for a bit. When it's done, the server is responsive again.
  7. Offline


    Seems like it's not being feed enough cake!

    (on topic) I've run the server using no plugins besides Essentials (which isn't the largest load) and it's occured regardless. If it is an issue of a plugin, there's been no evident memory leaks visible through Task Manager when these crashes have occurred (stayed consistant to running normally).

    At the moment, I could see running Dynmap + Factions + Essentials as being the issue, but again; have tried numerous times removing Dynmap or Factions temporarily to see if it calmed, and players continued to report crashing the next day.
  8. Offline


    So it kept happening while keeping Essentials in? And what happens if you take that out?
  9. Offline


    I think we tried it as well but it still occured; not sure if it's been tried though. The largest issue is that there are players on it 24/7 and these crashes haven't been happening at any exact times (happens randomly), so removing the core set of commands for a few days and then have the same result happen would just be an annoyance.

    Curious what aeronetwork has to say about it, but because Essentials is so widely used, if there was a potential memory leak issue with it, I'm sure it would be flooding their support forums.
  10. Offline


    The thing is, it doesn't have an error of sorts, the /plugins seem to be working....The problem is it has something to do with "outbound traffic" every time the server crashes it's like you're being DDoSed for about 1 minutes but it isn't from an outside source, it's from your own host..."Outbound = Download" so I'm not sure what this error could be.

    I recon it's CraftBukkit itself but I'm not sure as well, would you possibly run some tests by having no plugins and see if the server crashes after 1/2 days or so.
  11. Offline


    theres none. just some guy trying to troll.
  12. Offline


    I'd be willing to try that.

    Something I just noticed opening up the Resource Monitor on Windows is viewing all current connections to the server (java.exe) here's what came up:
    Nothing seems out of the ordinary, although looking at the bottom you can see that the two local ports '5' which are being used by Dynmap have a latency of 300, and 280 while the server itself has 45.

    Additionally, assuming it's normal for there to be loopbacks for all the people currently connected to the server? The middle column shows all current players (or devices) accessing the server through java, although nothing looks to be wrong as well.

    Notice anything I'm not catching?
  13. Offline


    You need to wait until it crashes to see results of high outbound usage.
  14. Offline


    Hm, suppose I could try to catch it when this happens.
    I'll post in this thread and mention you as soon as I've made any progress.
  15. Offline


    Is it running a SQL server also? Could be from a plugin. But check out your disk I/O. if its not your CPU or RAM that could do it. The write/read queue could be getting overwhelmed and it will drop everything. Also to a memory test like memtest86. And since your running windows a sfc /scannow. and chkdsk.
  16. Offline


    Well, you could set up a test server, I always do that when I have issues. The players don't know, and aren't affected.
  17. Offline


    Try modifying your run.bat to this and see how it goes.
    TITLE FineMines
    "C:\Program Files\Java\jre7\bin\java.exe" -Xms1536M -Xmx2024M -XX:+UseConcMarkSweepGC -XX:+UseAdaptiveGCBoundary -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -XX:MaxGCPauseMillis=10 -XX:-UseGCOverheadLimit -XX:SurvivorRatio=16 -XX:UseSSE=3 -jar craftbukkit-1.2.5-R4.1-20120702.203859-26.jar
    Crumble likes this.
  18. Offline


    Thank you so much for this. So far the server has gone a day without crashing and seems to be a bit more stable then before. Really appreciate it.
  19. Offline


    Crumble Glad this helped out!

    If you feel like the issue has been resloved, please mark the topic solved.
    To do this:
    Go into Thread Tools > Edit Thread, and click '(No prefix)'. Change this to Solved.
  20. Offline


    Okay, I'm trying this.
  21. Offline


    Setting this back to unsolved, the same issue happened just minutes ago.

    Same result in console and the last command sent previous to the crash was over two minutes before.
    Additionally, as requested by aeronetwork, the outbound traffic was not excessive.

    Players reported the server crashed two to three times today.
  22. Offline


    Haha, this method didn't help...Did you try running it without any plugins?
  23. Offline


    Not yet. Going to try that right now since it just crashed again.
  24. Offline


    To me it sounded like it was locking up when Java was doing it's garbage collect. Those flags put that into different threads from the Minecraft server itself.

    Maybe since your specs aren't the greatest your hardware just isn't able to keep up. Try using Spigot instead of the regular Craftbukkit,jar Also, try setting time-out time: in bukkit.yml higher.
  25. Offline


    Thanks by the way for responding. The entire situation just seems very irregular as it can crash with two players online, yet there are almost ten players online at the moment and it's not lagging / has crashed at all.

    I'll look into Spigot, although I'm not sure if you meant something else when you said change the time-out time in bukkit.yml. Looking through it didn't show any configurable options + there is no documentation of it on the official wiki:
  26. Offline


    It's after you install Spigot, sorry :p
  27. Offline


    im having the same problem. my players will just get the endofStream connection. I don't think any of my plugins are outdated. I tried removing the ones that are useless. but still like once in a while(2-3 times per day) my players get kicked. I can still activate cmds using console.
  28. Offline


    Did you guys ever resolve this? Having the same problem here :/
Thread Status:
Not open for further replies.

Share This Page