L'assedio non può eseguire test di carico per più di 255 test


0

La mia versione di Siege è:

4.0.2 and ubuntu : 16.04
Siege is installed in cd ./.linuxbrew/Cellar/siege/4.0.2/etc/

Non ho potuto effettuare un test di carico più di 255 e vedendo un messaggio di avviso in basso.

 siege -c1000 -t5m  http://192.168.1.11:8080/



 WARNING: The number of users is capped at 255.  To increase this
         limit, search your .siegerc file for 'limit' and change
         its value. Make sure you read the instructions there...
================================================================
** SIEGE 4.0.2
** Preparing 255 concurrent users for battle.
The server is now under siege...
HTTP/1.1 403     1.50 secs:     819 bytes ==> GET  /kiosk/start
HTTP/1.1 403     1.50 secs:     819 bytes ==> GET  /kiosk/start
HTTP/1.1 403     1.51 secs:     819 bytes ==> GET  /kiosk/start
HTTP/1.1 403     1.52 secs:     819 bytes ==> GET  /kiosk/start

così via ctrl + z

Quindi ho modificato il file siegerc:

sudo vim siegerc

verbose = true
color = on
quiet = false
show-logfile = true
logging = false
limit = 3000
protocol = HTTP/1.1
chunked = true
cache = false
concurrent = 3000
connection = close

Anche dopo aver riavviato la mia macchina, ho ancora ricevuto lo stesso messaggio di avviso e caricato solo i miei 255 test. Cosa devo fare, se voglio correre di più?

Risposte:


Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.