Jump to content

forge server crash caused by entities


Ewe Loon

Recommended Posts

build,  forge_1.13.0.1180 server running on ubuntu

 

 

if there are too many (less than 300) entities

and a cleien with a slow internet connection trys to connect

this error occurs about 200 times per second, flooding memory and causing so much lag that even the console is almost unresponsive

 

[16:02:02] [Netty IO #2/ERROR] [FML/]: NetworkDispatcher exception
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.writev0(Native Method) ~[?:1.6.0_24]
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) ~[?:1.6.0_24]
at sun.nio.ch.IOUtil.write(IOUtil.java:182) ~[?:1.6.0_24]
at sun.nio.ch.SocketChannelImpl.write0(SocketChannelImpl.java:383) ~[?:1.6.0_24]
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:406) ~[?:1.6.0_24]
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:249) ~[NioSocketChannel.class:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:680) [AbstractChannel$AbstractUnsafe.class:?]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.forceFlush(AbstractNioChannel.java:266) [AbstractNioChannel$AbstractNioUnsafe.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:488) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [singleThreadEventExecutor$2.class:?]
at java.lang.Thread.run(Thread.java:679) [?:1.6.0_24]
[16:02:02] [Netty IO #2/ERROR] [FML/]: NetworkDispatcher exception
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.writev0(Native Method) ~[?:1.6.0_24]
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) ~[?:1.6.0_24]
at sun.nio.ch.IOUtil.write(IOUtil.java:182) ~[?:1.6.0_24]
at sun.nio.ch.SocketChannelImpl.write0(SocketChannelImpl.java:383) ~[?:1.6.0_24]
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:406) ~[?:1.6.0_24]
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:249) ~[NioSocketChannel.class:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:680) [AbstractChannel$AbstractUnsafe.class:?]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.forceFlush(AbstractNioChannel.java:266) [AbstractNioChannel$AbstractNioUnsafe.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:488) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [singleThreadEventExecutor$2.class:?]
at java.lang.Thread.run(Thread.java:679) [?:1.6.0_24]
[16:02:02] [Netty IO #2/ERROR] [FML/]: NetworkDispatcher exception

 

this was tested on a server with clients having no mods

 

Note. connecting from lan has no problem

 

just tested with latest recommended build forge server 1.13.2.1230 

problem still occurs though error messages didnot appear on the console

however the errors are still in logs\fml-server-latest.log

 

Link to comment
Share on other sites

entities do cause it, but might not be the only thing that can

 

I spawned lots of entities (chickens) and the crash occurred every time,

killed them off, no crashes

spawned lots of cows , and got crashes again

It will be something to do with the network traffic they are causing

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.