Closed deepgoyal25 closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Any updates on the reported issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @deepgoyal25, thanks for using EmbedIO! Also, apologies for taking all this time to reply.
Do you know of any way to reliably reproduce the issue either on Windows or on Linux? If not, I'll need your help to do some testing on a Mac, especially if you can use a profiler.
Hi @rdeago, thanks for getting back on this issue. I am not able to reproduce this issue on Windows and Linux. I am happy to help out with investigation. Let me know the steps that I need to try out
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug We have started noticing CPU usage spike for our Windows and Mac users after we started using EmbedIO to host http server in our native application. On Mac, the CPU usage spike is easily reproducible. We see an uptick of up to 4% CPU usage spike just by starting Http server with EmbedIO during application start. The CPU usage stays at 4% all the time even when we are not sending any calls to the http server.
To Reproduce Steps to reproduce the behavior: We are using the below code in our application to start http server: - WebServer webServer = new WebServer(options => options.WithUrlPrefix(baseAddress).WithMode(HttpListenerMode.EmbedIO)).WithWebApi("/", m => m.RegisterController < MainModule >()); webServer.Start();
Expected behavior CPU usage should not stay constantly at 4% when server is not serving any requests
Desktop (please complete the following information):
=== Mono Framework MDK ===
Runtime: Mono 6.6.0.166 (2019-08/d9001b5ae70) (64-bit) Package version: 606000166