-
Notifications
You must be signed in to change notification settings - Fork 395
Closed
Description
This is related in part to my PR #42. Once I did get siege built in the docker-alpine base, when I ran siege with more than 1 concurrent users it would seg fault. I tried using gdb to get the backtrace (bt or where), but no trace was available. When I tried using the debian:jessie docker image as the base, I could use apt-get install siege (no build needed) and that worked just fine.
To recreate the segmentation fault:
- docker run --rm -it alpine sh
- Add the build dependencies: apk add --update alpine-sdk
- wget http://download.joedog.org/siege/siege-latest.tar.gz
- tar -zxvf siege-latest.tar.gz
- cd siege-3.1.3
- ./configure
- Add #include <sys/types.h> below line 24 of src/hash.c
- make
- Run the following: siege -r 1 -c 2 www.google.com
Metadata
Metadata
Assignees
Labels
No labels