• Resolved vorticy

    (@vorticy)


    Trying to optimize my website for heavy woocommerce traffic. About 1,000 visitors trying to make a purchase and the site slows down to a crawl. How do I use this tool to best analyze the situation and can it help me make improvements? I have LEMP stack (Nginx, MariaDB, PHP-FPM) on CentOS7. Configuration:Dedicated Server, CPU:4 Core x 3.5 GHz (E3-1230 v6), RAM:32 GB, SSD:2 x 480 GB Software RAID 1, Data transfer rate up to:1 Gbps. Currently it seems my memory taps out with only 15% cpu usage. Transfer is less than 10mbps. Seems like a ton of php-fpm processes. I have set the number of children high as this seems to be the only way to max out memory and not get 500 errors. Thanks for any advice you can give.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Does your website perform well under heavy read-only load? For example, with a high number of non-logged-in visitors reading the site? If so, your issue could be caused by slow write speed to the drive holding your database, causing a bottleneck when orders are placed.

    That said, unfortunately QM won’t be able to help you with that sort of debugging, it’s for debugging the application layer. If you’re throwing hardware at the problem and not seeing much benefit then you’ll need to get a server specialist or a PHP performance specialist to take a look.

    I’d start by trying to figure out if WooCommerce is spawning separate processes for each order (for example a cron event) that you might want to disable. You can use WP Crontrol to monitor that while your orders are coming in.

    Thread Starter vorticy

    (@vorticy)

    Thank you for the reply. I don’t know about read-only heavy load. The only heavy load we get is when we release our product and 1,000 visitors all try to add to cart and checkout.

    I’m trying to digest this article https://geekflare.com/php-fpm-optimization/ to optimize the php-fpm. One would think the server I have would handle 1,000 customers. But my guess is Woocommerce/wordpress is the primary problem. I think my other site that I have on a smaller server using opencart 1.5.6.4 would handle this no problem.

    Thread Starter vorticy

    (@vorticy)

    Still a little confused on how to use your plugin. Is this for the backend? Or does it monitor queries from customers? How do I monitor queries while performing a “sign-in”, “add to cart” and then a “check out”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use this Plug-in Effectively’ is closed to new replies.