Apache HTTP Server high CPU usage


  • | 239 points

    I am using laragon for an application with Laravel. This is the screenshot from task manager:

    image.

    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.


  • administrators
    | 115132 points

    @Roland1993 : What your Laravel application do?
    You can rename www folder to www.bak then create an empty www to find out.


  • | 239 points

    @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


  • administrators
    | 115132 points

    @Roland1993 : Please do whatever you want but keep the www clean. So:

    1. If www folder have no project and Apache is fine. Your web app is the culprit.
    2. If www folder have no project and Apache is still eating CPU. Please change to Nginx instead.

  • | 239 points

    @leokhoa

    1. www folder has a project, only one. Furthermore the application is not that big and it's very fast.
    2. www folder has a project, only one. I tried switching to Nginx but I get net::ERR_CONNECTION_REFUSED

  • | 239 points

    @leokhoa oh wait. I changed the SSL from 8443 to 443 and everything is working fine with nginx now.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.