Siege concurrency issue
-
- Offline
- 2 years 3 months ago
- 2015-12-15
I tried using docker-alpine to run Siege (https://github.com/JoeDog/siege) a HTTP endpoint testing tool written in C. I compiled it in the docker-alpine container. When I ran it with 1 concurrent request it worked fine, when I tried with more than 1 concurrent request it would give me a segmentation fault. I tried this in a debian container without an issue.
Any thoughts on what could cause this.
Here's the issue I created with Siege. No resolution unfortunately. https://github.com/JoeDog/siege/issues/43#issuecomment-164869291
Here are the steps to recreate:
To recreate the segmentation fault:
1. docker run --rm -it alpine sh
2. Add the build dependencies: apk add --update alpine-sdk
3. wget http://download.joedog.org/siege/siege-latest.tar.gz
4. tar -zxvf siege-latest.tar.gz
5. cd siege-3.1.3
6. ./configure
7. Add the following include below line 24 of src/hash.c - #include
8. make
9. Run the following: siege -r 1 -c 2 www.google.com