Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

siege can exceed its -t limit #178

Open
jimrobinson opened this issue Jun 2, 2020 · 2 comments
Open

siege can exceed its -t limit #178

jimrobinson opened this issue Jun 2, 2020 · 2 comments

Comments

@jimrobinson
Copy link

I've never seen siege do this before (and I've been running it a lot lately), but I thought it was interesting that it apparently is possible for siege to keep going after its -t <limit> has been reached:

$ ps -ef | grep [s]iege
jimr     14315 14097  0 07:24 pts/0    00:00:00 docker run --name jimr_siege --rm -it -v /home/jimr:/data jimrobinson/bombard:latest siege -q -f /data/1300.urls.txt -b -t 10m
jimr     14352 14334 99 07:24 pts/0    00:57:33 siege -q -f /data/1300.urls.txt -b -t 10m
$ date
Tue  2 Jun 07:45:16 PDT 2020

This was siege 4.0.5 running inside a ubuntu:16.04 docker container (built using https://github.com/jimrobinson/bombard, available via https://hub.docker.com/jimrobinson/bombard)

I eventually used docker stop on the job and it spat the following out before exiting:

[error] Address resolution failed at sock.c:158 with the following error:: No such file or directory
[error] Name or service not known: No such file or directory
[error] Address resolution failed at sock.c:158 with the following error:: No such file or directory
[error] Name or service not known: No such file or directory

As far as I can determine it wasn't running out of sockets (netstat -nt wasn't showing a lot of TIME_LIMIT files).

The siege configuration is mostly the default, the differences being

turning off show-logfile, disabling json_output, and specifying a default logfile and file.

verbose = true
color = on
quiet = false
json_output = false
show-logfile = false
logging = false
logfile = /data/siege.log
gmethod = HEAD
parser = true
nofollow = ad.doubleclick.net
nofollow = pagead2.googlesyndication.com
nofollow = ads.pubsqrd.com
nofollow = ib.adnxs.com
limit = 255
protocol = HTTP/1.1
chunked = true
cache = false
connection = close
concurrent = 25
file = /data/urls.txt
delay = 0.0
internet = false
benchmark = false
accept-encoding = gzip, deflate
url-escaping = true
unique = true
@JoeDog
Copy link
Owner

JoeDog commented Jun 3, 2020 via email

@jimrobinson
Copy link
Author

Thanks, a missed signal would explain it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants