Why does an idle python service needs 1% to 1,6% of my CPU? #2606
-
Hi, I created this simple service that contains a cherrypy webserver that provides a Hello World page. If I run this web server without a service it takes 0% CPU load. If I run this script above that runs the server as a service, it takes 1% to 1,6% of my CPU. A bit too mouch for doing nothing in my opinion. Why is that happening? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
What cpu do u have? |
Beta Was this translation helpful? Give feedback.
-
and it’s reporting to windows |
Beta Was this translation helpful? Give feedback.
-
not pywin32s problem but it’s cherrypys problem https://stackoverflow.com/questions/45888452/cherrypy-quickstart-consuming-high-cpu-usage-while-idle |
Beta Was this translation helpful? Give feedback.
-
I am not convinced. I run the same server as service and direct on the command line. And I notice the the cpu load only if I run it as a service. |
Beta Was this translation helpful? Give feedback.
not pywin32s problem but it’s cherrypys problem https://stackoverflow.com/questions/45888452/cherrypy-quickstart-consuming-high-cpu-usage-while-idle