Skip to content

Instantly share code, notes, and snippets.

@pitosalas
Created January 5, 2015 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pitosalas/11af4f4a68f81ef56fb5 to your computer and use it in GitHub Desktop.
Save pitosalas/11af4f4a68f81ef56fb5 to your computer and use it in GitHub Desktop.
Question 1: What does this tell you?
perftest1(master)> siege -f siege/siege_urls.txt -c 1000 -i -t 30s -q
[alert] socket: 460427264 select timed out: Invalid argument
[alert] socket: 585986048 select timed out: Invalid argument
[alert] socket: 530182144 select timed out: Invalid argument
[alert] socket: 404623360 select timed out: Invalid argument
[alert] socket: 334331904 select timed out: Invalid argument
... more of the same
.....
Segmentation fault: 11
Question 2: What does this tell you?
perftest1(master)> siege -f siege/siege_urls.txt -c 500 -i -t 30s -q
[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
.... more of the same
....
Lifting the server siege... done.
Question 3: Why the 301 errors, my test case is very simple and AFAIK never sends a 301. See perftest1.heroku.com
HTTP/1.1 200 1.45 secs: 156 bytes ==> GET /
HTTP/1.1 301 1.45 secs: 0 bytes ==> GET /
HTTP/1.1 200 1.46 secs: 156 bytes ==> GET /
HTTP/1.1 301 1.45 secs: 0 bytes ==> GET /
HTTP/1.1 200 1.45 secs: 156 bytes ==> GET /
HTTP/1.1 301 1.45 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.44 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.44 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.45 secs: 0 bytes ==> GET /people/sample
HTTP/1.1 301 1.46 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.46 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.47 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.47 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.48 secs: 0 bytes ==> GET /
HTTP/1.1 200 1.48 secs: 156 bytes ==> GET /
HTTP/1.1 301 1.48 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.48 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.48 secs: 0 bytes ==> GET /people/sample
HTTP/1.1 301 1.49 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.49 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.48 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.50 secs: 0 bytes ==> GET /
HTTP/1.1 301 1.49 secs: 0 bytes ==> GET /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment