是否有 apache 模組或伺服器設定會阻止 apache 基準測試

是否有 apache 模組或伺服器設定會阻止 apache 基準測試

我試圖在其中一台伺服器上執行 apache 基準測試。然而,apache 基準測試總是會出現逾時錯誤。

我想知道是否有一個模組(如 mod security)或設定(如防火牆)可以阻止此操作?

捲曲很好。

ab 命令:

ab -n 10 -c 10http://some.host/

從我的本地網絡,結果:

對 some.host 進行基準測試(請耐心等待)...發送請求失敗! apr_poll: 指定的逾時時間已過期 (70007) 總共完成 1 個請求

來自與我想要進行基準測試的伺服器位於同一網路中的另一台伺服器:

apr_poll:指定的逾時已過期(70007)

答案1

結果是 apache benchmark v2.3 上的錯誤,
用 siege 替換後運作正常。

相關內容