2010-07-28 33 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. 

爲了讓我自己的服務器實現停止這樣做,我必須禁用服務器端連接關閉。事實證明,服務器在關閉連接方面過於激進。