archttp icon indicating copy to clipboard operation
archttp copied to clipboard

Suddenly shutdown @ high concurrency

Open waghanza opened this issue 2 years ago • 2 comments

Hi @zoujiaqing,

When I run archttp from https://github.com/the-benchmarker/web-frameworks/tree/master/d/archttp inside a container

FROM dlang2/ldc-ubuntu:1.26.0 AS build

WORKDIR /usr/src/app

COPY . ./

RUN dub build -b release

FROM ubuntu:focal

RUN apt-get -qq update

COPY --from=build /usr/src/app/server /usr/src/app/server

CMD /usr/src/app/server

The server suddenly shutdown after stressing it with wrk -H 'Connection: keep-alive' --connections 2 --threads 1 --duration 1 --timeout 1 http://172.17.0.2:3000

Do you have any way to add debug to see what is going on ?

Regards,

waghanza avatar Nov 06 '22 13:11 waghanza