Autobench에서 포트 8983을 사용하여 -host1을 로컬 호스트로 지정합니다

StackOverflow https://stackoverflow.com/questions/2446810

  •  20-09-2019
  •  | 
  •  

문제

I am using autobench for benchmarking in ubuntu 8.10

autobench ---single_host -host1 localhost --uri1 /solr /admin ---low_rate 20 -high_rate 200 ---rate_step 20 -num_call 10 -num_conn 5000 -timeout 5 -파일 bench1.tsv

이것이 내가 준 명령입니다. 기본 포트를 80으로 취하고 있으며 답장 및 요청 수는 아래와 같습니다.

**Errors: total 5000 client-timo 0 socket-timo 0 connrefused 5000 connreset 0
  Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
  Zero replies received, test invalid: rate 20
  httperf --timeout=5 --client=0/1 --server=localhost --port=80 --uri=/solr/admin  --rate=40 --send-buffer=4096 --recv-buffer=16384 --num-conns=5000 --num-calls=10
   Maximum connect burst length: 4
   Total: connections 5000 requests 0 replies 0 test-duration 124.976 s**

그러나 포트가 8983이되기를 원합니다. Autobench Tutorial에서 본 모든 예에서 -host1은 웹 사이트 (예 : www.test.com)입니다. 누구든지 항구를 8983으로 사용하는 지역 호스트를 사용하는 방법을 제안 할 수 있습니까? 미리 감사드립니다.

올바른 솔루션이 없습니다

다른 팁

man autobench

그러면 당신은 볼 것입니다

-Port1 포트 Host1의 서버가 듣는 포트 번호

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top