mac ab壓力測試問題

2021-10-10 17:34:11 字數 616 閱讀 5337

ab認為第一次請求的內容是成功內容 後面請求要是不一樣就認為是失敗

待驗證錯誤問題:

apr_socket_recv: connection reset by peer (54)

是由於使用的macosx預設自帶的ab限制了併發數導致的。

//解壓

tar -zxvf apr-1.5.2.tar.gz

//進入解壓後目錄

./configure --prefix=/usr/local/apr

make & make install

//同理

tar -zxvf apr-util-1.5.4.tar.gz

./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr

make & make install

//同理

壓力測試問題

環境 兩台虛機配置,千m網絡卡 a 8cpu,32g記憶體 應用伺服器 b 2cpu,8g記憶體 資料庫 壓力測試資料 200使用者,每秒響應160 170次左右,cpu占用10 左右,記憶體占用穩定,始終無法提公升,網路使用率4 資料庫伺服器,cpu 2 記憶體占用穩定 資料庫一切正常,伺服器cp...

Nginx壓力測試問題

root aa this is apachebench,version 2.3 isio n 655654 revision 655654 revision 655654 licensed to the apache software foundation,benchmarking 192.168....

RabbitMQ 測試問題

使用eventlet併發consumer指令碼 eventlet.monkey patch all true msg per queue 50 queue num 10 rabbit host 10.23.54.150 5672 class consumer def init self,count ...