Connection reset by peer: socket write error
来源:百度文库 编辑:神马文学网 时间:2024/04/27 22:02:24
查了下TOMCAT的文档,解释如下:
Wrap an IOException identifying it as being caused by an abort of a request by a remote client.
在BAIDU和GOOGLE上找了下原因,大概归结为:
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error的原因是由于处理http连接时,正在输出内容时,用户关闭了IE,会出现一个"ClientAbortException",属于I/O处理中出现的一个异常,应用服务器应该会捕捉。
Connection reset by peer的原因:
经常出现的Connection reset by peer: 原因可能是多方面的,不过更常见的原因是:
①:服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉;
②:客户关掉了浏览器,而服务器还在给客户端发送数据;
③:浏览器端按了Stop
很多人都说是客户端造成的,没有办法控制,是个比较郁闷的问题。
但是,我担心的是:虽然前台没有任何出错的迹象,但是后台会记录这个异常,日志也会疯狂爆满,时间长了,肯定会DOWN掉的,还没找到好的解决办法
resin有一个参数ignore-client-disconnect
tomcat似乎没有
Wrap an IOException identifying it as being caused by an abort of a request by a remote client.
在BAIDU和GOOGLE上找了下原因,大概归结为:
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error的原因是由于处理http连接时,正在输出内容时,用户关闭了IE,会出现一个"ClientAbortException",属于I/O处理中出现的一个异常,应用服务器应该会捕捉。
Connection reset by peer的原因:
经常出现的Connection reset by peer: 原因可能是多方面的,不过更常见的原因是:
①:服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉;
②:客户关掉了浏览器,而服务器还在给客户端发送数据;
③:浏览器端按了Stop
很多人都说是客户端造成的,没有办法控制,是个比较郁闷的问题。
但是,我担心的是:虽然前台没有任何出错的迹象,但是后台会记录这个异常,日志也会疯狂爆满,时间长了,肯定会DOWN掉的,还没找到好的解决办法
resin有一个参数ignore-client-disconnect
tomcat似乎没有
Connection reset by peer: socket write error
Socket error: Connection reset by peer.
Error establishing socket的解决方法
解决APP ERROR 523 reset错误 一步一步教程
How to configure an L2TP/IPSec connection by using Preshared Key Authentication
Socket
socket
Peer assists
NAT and Peer-to-peer networking
Peer-to-Peer : Encyclopedia of New Media
TCP Connection State Diagram
Css Reset(复位)整理
JBOSS ERROR
Apache Error
Outlook Error
loadrunner error
Internet Explorer and Connection Limits
linux命令学习-reset命令
Peer-to-Peer Communication Across Network Address Translators
SR CONSULTING - Your Partner in Peer-to-Peer (P2P)
Should I Write Shareware?
What to Write
SSD Write Limit
Write Your Own Life