You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The server doesn't usually fork any threads. In the example the server uses 1 thread and it should be able to serve tens of thousands of concurrent clients.
Am I missing something? Are you spawning your own threads?
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.
The text was updated successfully, but these errors were encountered: