我想知道connreset与httperf的重要性是什么。在测试单个网页时,我没有收到任何错误。当使用包含多个页面的简单.log文件时,我得到100%的connreset错误。关于如何克服这个问题的建议?
答案 0 :(得分: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.
要让我自己的服务器实现停止这样做,我必须禁用服务器端连接关闭。事实证明,服务器过于积极地关闭连接。