Serious Connection Problem on Bukkit D: Need help.

Discussion in 'Bukkit Help' started by kalvinleung, Apr 12, 2012.

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

    kalvinleung

    Hello,
    I opened a server on my PC with bukkit in few months ago.My server run flawlessly before.
    However, recently my server become very laggy and many friends tell me that they cannot load chunks after log in.They retry a lot ,but still can't.My server shows this error code when they log out.
    Code:
    17:09:24 [SEVERE] java.net.SocketException: Socket closed
    17:09:24 [SEVERE]    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    17:09:24 [SEVERE]    at java.net.SocketOutputStream.write(Unknown Source)
    17:09:25 [SEVERE]    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    17:09:25 [SEVERE]    at java.io.BufferedOutputStream.flush(Unknown Source)
    17:09:25 [SEVERE]    at java.io.DataOutputStream.flush(Unknown Source)
    17:09:25 [SEVERE]    at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)
    17:09:25 [INFO] Simon302 lost connection: disconnect.endOfStream
    After a long reboot and test,I found that after I install certain plugins, then chunk will not load.
    Plugins that I know will cause issue now are : Essentials , Mcmmo ,simplecolour , admincmd
    I really want to use these plugins as they are pretty awesome D: .
    Anyone have any help/ideas/fix/solution/thought on this problem, please post it. Thanks
     
  2. Offline

    cray_Z

    Make sure the plugins are up to date.
     
  3. Offline

    Dommyman

    Im having this exact problem! I cant find any working solutions anywhere
     
  4. Offline

    -_Husky_-

    Maybe your internet is slowed / shaped
     
  5. Offline

    Dommyman

    Thats what someone on PMC suggested, but when he makes a server its fine.
     
  6. Offline

    kalvinleung

    cray_Z
    All plugins are up to date
    @-_Husky_-
    here is my internet speed
    [​IMG]
     
  7. Offline

    -_Husky_-

    Holy shit, thats quick. I get 1mb download and 1mb upload, #australiasshitinternet
     
  8. Offline

    TheComputerDewd

    • All caps is not allowed - read the TOS
    DANG DUDE UR INTERNET IS FAST! HONG KONG IS BEAST! :O
     
  9. Offline

    -_Husky_-

     
  10. Offline

    kalvinleung

    @ -_Husky_-
    Any help other from network speed? xd
     
  11. Offline

    -_Husky_-

    Lol, How about show me your Start.bat
    What java version are you running
    bukkit /version
     
  12. Offline

    kalvinleung

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx6G -Xms6G -Xincgc -jar craftbukkit-1.2.5-R1.0.jar
    PAUSE
    Java 7 64 bit su3
    RB bukkit 1.2.5
     
  13. Offline

    andrewpo

    I have had this same issue on multiple servers of good and bad internet connections for months.
     
  14. Offline

    kalvinleung

    how do you fix it?
     
  15. Offline

    andrewpo

    If I knew, I'd gladly help you.

    Try looking on the JIRA instance to see if it's been raised as an issue - if it hasn't, create one and TnT or another lovely person should be able to help you out and fix it if it is a bukkit programming error causing the issue.

    But since bukkit isn't mentioned in the stack trace, it may well be a Vanilla error which you could tweet to jeb_ on twitter. There may be a 'hacky fix' bukkit can implement but it's best to get problems fixed at source.
     
  16. Offline

    kalvinleung

    I have been posted this issue on JIRA before.However,they can't find the problem as they can't reproduce the error.It maybe mojang problem ,but I don't have a twitter account and I don't want have have one :p
     
  17. Offline

    andrewpo

    Well in which case, it unfortunately looks like we're going to be unable to assist you further with your situation.

    Since we've reached a resolution (granted, not a desirable one) with your issue, please change the prefix of your topic title to Solved by going to Thread Tools then 'Edit Thread'
    [​IMG]
     
  18. Offline

    kalvinleung

    I don't think it is solved for now.At least, I still can't these plugins
     
  19. Offline

    andrewpo

    I honestly don't think this is a Bukkit or a plugin issue, so we can't do much to help you.

    There are no references to org.bukkit or plugin/bukkit related classes in your error's stack trace.

    A useful part of the error is "net.minecraft.server.NetworkWriterThread.run(SourceFile:103" which would suggest that it's a vanilla minecraft problem.
     
  20. Offline

    kalvinleung

    I will keep this unsolved and wait for some kind of breakthrough later :p
    Be honest, 1.7- server is better than now on lag D:
     
  21. Offline

    andrewpo

    If you're having lag issues....
    1. stop server
    2. rename server.log to server.log.bak
    3. start server
    4. connect to it
    5. let it run for 5 minutes
    6. stop the server
    7. upload newly generated server.log to pastebin
    Also if you could provide the contents of your server start script, that may help.
     
  22. Offline

    levisn1

    I have updated my linux server with the latest java JRE 7 version today, the "1.7.0_03"...but nothin i have the same messages errors in my console sometimes, even if the server has 30/500 players..bha,i have 3 worlds on ramdisk(8gb)/(java12bg)on tot of 24 gb CF 1.2.5 racc build...) but even this did not help.. =/ i think that the problem can be generated by some outdated plugins or a native problem of Minecraft or of craftbukkit..
     
  23. Offline

    kalvinleung

    Cannot load chunk is a kind of lag?
    Anti-virus and Java may affect server and cause lag?
    I use AVAST 7 and Java 7 su3 64bit
    I'm using the bat from bukkit wiki
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms4096M -jar craftbukkit.jar
    PAUSE
    \
    Maybe add more java node may help? like -Xincgc
     
  24. Offline

    kalvinleung

Thread Status:
Not open for further replies.

Share This Page