mushroomhostage / exphc

The Experimental Hardcore Post-Apocalyptic Minecraft Server
www.exphc.com
8 stars 5 forks source link

Users disconnected with "Socket closed - disconnect.overflow" #68

Closed mushroomhostage closed 12 years ago

mushroomhostage commented 12 years ago

Some users are reporting they get disconnected frequently. Server log shows "Socket closed - disconnect.overflow"

mushroomhostage commented 12 years ago

http://www.mcportcentral.co.za/index.php?topic=205.msg4457#msg4457 says Buildcraft has an update rate setting which can be lowered. However the user did not have any Buildcraft equipment nearby. Perhaps related to WRCBE. May be even save problem as https://github.com/mushroomhostage/exphc/issues/62 "[INFO] Sending Triang:" log spam. Each of those messages sends a triangulation update packet. We'll see if this situation improves with it disabled.

mushroomhostage commented 12 years ago

Still getting overflow disconnects with it disabled. But WRCBE sends other packets, so not vindicated just yet.

mushroomhostage commented 12 years ago

WRCBE sends packets through CodeChickenCore. EnderStorage also uses CCC's packet sending. Blocked most of the packets and added logging to sendPacketTo(). Get 4 packets sent to me when I login. Will see if this improves things, or if the overflows are another problem entirely.

mushroomhostage commented 12 years ago

43 disconnect.overflows yesterday, so far today only 13:

2012-07-13 05:11:51 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:35:06 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:36:11 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:36:51 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:37:42 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:45:00 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:47:22 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:49:24 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 11:50:36 [INFO] Drobac lost connection: disconnect.overflow 2012-07-13 14:27:08 [INFO] Drobac lost connection: disconnect.overflow

all from same player..hmm. No usual CodeChickenCore packets sent either, only the 6 custom packets to that user about an hour before.

mushroomhostage commented 12 years ago

https://github.com/mushroomhostage/exphc/commit/98cd05e67d53c0164d654682876ef2e43f33e33f RedPower: set minInterval to 9 ticks (0.550 s for timer) in attempt to reduce lost connection: disconnect.overflow

mushroomhostage commented 12 years ago

2012-07-14 08:11:40 [INFO] Drobac lost connection: disconnect.overflow

mushroomhostage commented 12 years ago

Drobac: "I had a bunch of DC earlier cause i put my cobble gen timer a bit too fast so it was messing with my client significantly, that was the overflow crashes but i fixed that"