weixin_42350615
weixin_42350615
2010-01-05 11:42

apache+tomcat报错:Broken pipe

  • 企业应用

java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)
at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:112)
at org.apache.jk.core.MsgContext.action(MsgContext.java:293)
at org.apache.coyote.Response.action(Response.java:182)
at org.apache.coyote.Response.finish(Response.java:304)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:204)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

上面是错误代码,我是用Apache+Tomcat用mod_jk集成的,tomcat日志上老报这个错误,网上说是管道一端在写数据,但另一端没有已经关闭,所以导致出错。说是正常的。但这个错误太频繁了,1分钟10次左右!导致tomcat日志上充斥了太多这种没用的东西,我又不知道怎么屏蔽,能减少出现的次数都好啊!

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答