• Over the weekend I moved an existing WordPress multi-site from a Windows Server 2012, IIS, MySQL server (retiring) to an Azure, Virtual Machine server running Windows Server 2022. I have moved other PHP coded sites over the past 2 weeks and they are BLAZING fast on the new server.
    When I moved WordPress, everything came to a screeching halt as the FastCGI process is using 100% of the Servers CPU. I’m not sure where to even look because in the hand coded (by me) PHP sites using FastCGI, they don’t use hardly any CPU at all but WordPress is eating 100%.
    I’ve been googling for 2 days now to try and find solutions for this. I’ve tried changing multiple IIS, PHP settings. I’ve disabled all plugins, I’ve disabled CRON. I’m just at a loss for where to even look now. What could be causing the 100% CPU usage?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Hello, @mwcarpenter receiptify

    Sure! Here’s a concise version

    Fixing High CPU Usage in WordPress Multi-Site on IIS

    Check Server Resources:

      Ensure enough memory and processing time for PHP and FastCGI.

      Monitor Usage:

        Use Task Manager or Azure Portal to identify high CPU processes.

        Review Logs:

          Check PHP and IIS error logs for issues.

          Optimize WordPress:

            Disable plugins and switch to a default theme.

            Clean up your WordPress database.

            Disable WP-Cron:

              Make sure WP-Cron tasks are not running in the background.

              Check Configuration:

                Ensure correct web server settings for WordPress.

                Look for External Requests:

                  Ensure no unusual external requests or loops.

                  Use Object Caching:

                    Implement caching solutions to reduce database load.

                    Consider Fresh Install:

                      If needed, set up a fresh WordPress installation and migrate content.

                      Following these steps should help resolve the high CPU usage issue.

                      I hope this will help you

                      Regards, @mike158

                    Viewing 2 replies - 1 through 2 (of 2 total)
                    • You must be logged in to reply to this topic.