Apache HTTP Server high CPU usage
-
I am using laragon for an application with Laravel. This is the screenshot from task manager:
.
This is a fresh install of Laragon (2 days ago) on windows. The weird part is that even if I am not using the application, (no-requests-responses, no action on the app, even if I am on another tab on my browser) the CPU is high and HTTP Server doesn't stops or decreases.
-
@Roland1993 : What your Laravel application do?
You can rename www folder towww.bak
then create an emptywww
to find out.
-
@leokhoa it's an web application.
You can rename www folder to www.bak then create an empty www to find out.
Why to do that ? Inside
www
I have only one project
-
@Roland1993 : Please do whatever you want but keep the
www
clean. So:- If www folder have no project and Apache is fine. Your web app is the culprit.
- If www folder have no project and Apache is still eating CPU. Please change to Nginx instead.
-
www
folder has a project, only one. Furthermore the application is not that big and it's very fast.www
folder has a project, only one. I tried switching to Nginx but I getnet::ERR_CONNECTION_REFUSED
-
@leokhoa oh wait. I changed the SSL from 8443 to 443 and everything is working fine with nginx now.