Domanda

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 --file bench1. TSV

Questo è il comando che ho dato. Si sta prendendo la porta di default come 80 e il numero di risposte e le richieste vengono come illustrato di seguito

**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**

Ma, voglio la porta da 8983. In tutti gli esempi che ho visto nel tutorial autobench, --host1 è un sito web (ad esempio, www.test.com). Qualcuno può suggerire come utilizzare localhost prendendo la porta come 8983? Grazie, in anticipo.

Nessuna soluzione corretta

Altri suggerimenti

man autobench

Poi si vedrà

  

- port1 porto                 Il numero di porta su cui host1 del server è in ascolto

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top