Skip to content

Unlimited threads in facil.io - 0.7.x HTTP / WebSockets Server #150

Description

@zkwasm

Hi All,

I have following the guide to create a HTTP server:
https://facil.io/0.7.x/index

Then, I do a stress test on the created HTTP server. There are 5000 successful HTTP request/response on the server, it is OK, but when I check the status of the server, I found the server forked 5000 threads and these threads never terminate.

There is an option "max_clients", I set max_clients = 100 and test again, the server still forked 5000 threads and these threads never terminate.

Is something wrong? or I miss some important information...

Sincerely,
Tom.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions