使用jetty发现大量org.eclipse.jetty.io.EofException异常日志
最近在jetty后台日志中发现大量的EOfException,比如:
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:914)
at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:523)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:170)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:117)
at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:144)
...
Caused by: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:60)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:401)
at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:850)
... 36 more
上网找有人说是客户端或操作系统主动关闭链接导致,大体意思能明白,但是不知道这种错误是否会影响程序运行,求德问专家指点一下?
委屈自己一秒
11 years, 6 months ago