-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hello.
I have a problem with memory leaking in vibe-d and today I tried hunt-framework. Even after 100 requests per 1 sec, I have a few problems:
- Web resource is unavailable. I get a timeout error.
In log a see error:
Failure on accept Unable to accept socket connection: Too many open files
logs.log
cURL response:
curl localhost:8080 -v -m 10
* Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.79.1
> Accept: */*
>
* Operation timed out after 10001 milliseconds with 0 bytes received
* Closing connection 0
curl: (28) Operation timed out after 10001 milliseconds with 0 bytes received
P.S.: in OS (Manjaro Linux) I set ulimit to 5000 however the error appears.
2. Also memory leaking. In the screenshot below, I sent 1000 requests in 1 minute.
After I stop sending requests values of mem and res don't change.
How to reproduce:
git clone https://github.com/huntlabs/hunt-skeleton.git myproject
cd myproject
dub run -v
wrk -t8 -d10m -c2000 http://localhost:8080
wrk is a simple benchmark tool.
Metadata
Metadata
Assignees
Labels
No labels