• Resolved Riccardo91

    (@alopex91)


    It’s been a few days I’m trying to debug this website, it’s using too many resources, it’s on a VPS XL from Ionos, 4cores, 8gb ram, 160gb hd.

    When a bit of traffic comes in everything spikes to full making the site unusable, front and back. There about 1400+ users but problems start about 150 users simultaneously on the website.

    I’ve tried everything, php memory limit is at 2048M because 512M was causing out-of-memory errors.

    I’ve enabled Opcache with some average settings found online, wp-optimizer on wordpress

    I tried deactivating everything and changed theme, it changes a bit but I need to make it work with this setup.

    Orders are still coming but it’s almost impossibile for the staff to work on the backend

    I’m also using usageDD that’s showing me queries and the total weight of the pages.
    We’re about 860M both back and front across all pages, about 200-220~ queries for homepage and 160-190~ for the others

    I’m trying to use Gmetrix but it’s failing because these problems.

    I’m using these plugins on wordpress:
    Classic Editor, Code Snippets, Complianz Privacy Suite (GDPR/CCPA) Premium, Contact Form 7, Elementor, Email customizer, Fami Framework, Fami Template Kits, Fibosearch – Ajax Search For Woocommerce, Flexible Checkout Fields, Join.chat, Sendinblue, WPC Product Bundle for Woocommerce, Payment gateway based fees adn discounts for woocommerce, premmerce permalink manager for woocommerce, slider revolution, usageDD, woocommerce, woocommerce google analytics, woocommerce load more products, woocommerce stripe gateway, woof – woocommerce product filter, wp-optimize, WPC product quantity for woocommerce

    Latest error log

    [Tue Apr 19 10:30:30.253123 2022] [proxy_fcgi:error] [pid 3016:tid 140132847585024] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-cron.php?doing_wp_cron=1650363729.9297831058502197265625
    [Tue Apr 19 10:30:30.315410 2022] [proxy_fcgi:error] [pid 1819:tid 140132720023296] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-cron.php?doing_wp_cron=1650363729.7154650688171386718750
    [Tue Apr 19 10:30:46.573587 2022] [proxy_fcgi:error] [pid 3016:tid 140131814070016] (70007)The timeout specified has expired: [client ip-address0] AH01075: Error dispatching request to : (polling)
    [Tue Apr 19 10:30:46.664389 2022] [proxy_fcgi:error] [pid 1820:tid 140132897941248] (70007)The timeout specified has expired: [client ip-address0] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Tue Apr 19 10:30:51.698220 2022] [proxy_fcgi:error] [pid 1819:tid 140132770379520] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-admin/edit.php?post_status=wc-processing&post_type=shop_order
    [Tue Apr 19 10:31:01.903337 2022] [proxy_fcgi:error] [pid 1819:tid 140132678059776] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-admin/post.php?post=22568&action=edit
    [Tue Apr 19 10:31:35.042147 2022] [proxy_fcgi:error] [pid 5451:tid 140132183152384] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-admin/post.php?post=22568&action=edit
    [Tue Apr 19 10:31:35.042181 2022] [proxy_fcgi:error] [pid 1819:tid 140132728416000] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-admin/edit.php?post_status=wc-processing&post_type=shop_order
    [Tue Apr 19 10:32:28.034828 2022] [proxy_fcgi:error] [pid 5451:tid 140132889548544] [client ip-address] AH01067: Failed to read FastCGI header, referer: https://website.com/wp-admin/post.php?post=22568&action=edit
    [Tue Apr 19 10:32:28.070803 2022] [proxy_fcgi:error] [pid 5451:tid 140132889548544] (104)Connection reset by peer: [client ip-address] AH01075: Error dispatching request to : , referer: https://website.com/wp-admin/post.php?post=22568&action=edit
    [Tue Apr 19 10:32:44.234467 2022] [proxy_fcgi:error] [pid 5402:tid 140132250261248] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-admin/post.php?post=22568&action=edit
    [Tue Apr 19 10:33:01.161128 2022] [proxy_fcgi:error] [pid 5451:tid 140132048934656] (70007)The timeout specified has expired: [client ip-address:0] AH01075: Error dispatching request to : (polling)
    [Tue Apr 19 10:33:24.851216 2022] [proxy_fcgi:error] [pid 5658:tid 140131562419968] (70007)The timeout specified has expired: [client ip-address] AH01075: Error dispatching request to : (polling), referer: https://website.com/wp-admin/edit.php?post_type=shop_order
    [Tue Apr 19 10:34:49.090555 2022] [proxy_fcgi:error] [pid 5451:tid 140132208330496] [client ip-address] AH01067: Failed to read FastCGI header
    [Tue Apr 19 10:34:49.125041 2022] [proxy_fcgi:error] [pid 5451:tid 140132208330496] (104)Connection reset by peer: [client ip-address] AH01075: Error dispatching request to :  

    asdas

    • This topic was modified 2 years, 11 months ago by Riccardo91.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    I understand the usage of CPU is very high on your site, also I’ve read you have tried a lot of things looking for a solution.

    As a first step, a good point to start is to perform a conflict test, You can find a more detailed explanation on how to do a conflict test here.

    It is important also to reach out to your host, they will be able to check if something is not running properly on your site.

    Moreover, you can refer to these articles to find more information:
    * https://woocommerce.com/posts/ten-ways-to-speed-up-your-woocommerce-store/
    * Woocommerce high CPU usage

    I hope this helps.

    Thread Starter Riccardo91

    (@alopex91)

    Deleting transients and another bunch of strings from an old website in wp_options solved the problem. The memory usage went from 860M to 40M

    Bless this mysql command:

    DELETE FROM wp_options WHERE
    option_name LIKE '%_transient_%'

    That’s a huge difference:
    fffff

    The thing is that transients string keep reacreating increasing the size of wp_options thus increasing memory usage gradually. I still don’t know why this happens but at least I can contain the problem.

    I have what it seems a lot of duplicates in transients, these are some:
    there thousands of them, they keep reapeating somehow

    fgdgdfdg

    dghfgfhfhgfhgf

    This is wild

    The only thing I can think is some weird options in WP-Optimize, maybe some problem with the preload options, I’ve disabled it last night but still wp_options kept growing…

    • This reply was modified 2 years, 11 months ago by Riccardo91.

    Hello @alopex91!

    Deleting transients and another bunch of strings from an old website in wp_options solved the problem. The memory usage went from 860M to 40M

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Extreme resources usage on a VPS’ is closed to new replies.