2010-07-28 31 views
3

我想知道与httperf connreset的重要性是什么。在测试单个网页时,我不会收到任何错误。在几个页面中使用简单的.log文件时,我会收到100%的connreset错误。如何克服这个问题的建议?使用httperf 100%connreset?

回答

3

我最终不得不跟踪下来,因为我自己碰到它。该手册页说:

connreset: The number of times a TCP connection failed due to a RESET from the 
server. Typically, a RESET is received when the client attempts to send data to 
the server at a time the server has already closed its end of the connection. 
NT servers also send RESETs when attempting to establish a new connection when 
the listen queue is full. 

为了让我自己的服务器实现停止这样做,我必须禁用服务器端连接关闭。事实证明,服务器在关闭连接方面过于激进。