• Resolved bramvds

    (@bramvds)


    Hi all,

    The edit product in admin is extremely slow.
    After having some developers and serverside people looking in to this they came to one conclusion: woocommerce plugin is causing this.
    Please check image: https://snipboard.io/hsAtZV.jpg
    Clean install of woocommerce, no other plugins, storefront theme.
    Only did an import of a pretty clean product csv.
    Takes like 40-60 seconds to get to edit a product page in backend.
    Backend entering pages like All products, categories, tags etc take only 2 seconds.
    csv I imported:
    https://drive.google.com/file/d/1bphdVSrVvqLziD0-q4cp8wqeTvOnO0pD/view?usp=sharing

    Thanks all.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://woocommerce-466663-2922452.cloudwaysapps.com
    Site address (URL): https://woocommerce-466663-2922452.cloudwaysapps.com
    WC Version: 6.9.4
    REST API Version: ✔ 6.9.4
    WC Blocks Version: ✔ 8.3.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0.2
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: ✔
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.51 (Debian)
    PHP Version: 8.1.10
    PHP Post Max Size: 50 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 7000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 10.6.3-MariaDB-1:10.6.3+maria~buster-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.9.4
    WC Database Prefix: wp_
    Total Database Size: 333.51MB
    Database Data Size: 167.09MB
    Database Index Size: 166.42MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 5.52MB + Index: 7.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 0.13MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 133.64MB + Index: 142.20MB + Engine InnoDB
    wp_posts: Data: 14.17MB + Index: 3.63MB + Engine InnoDB
    wp_termmeta: Data: 0.11MB + Index: 0.16MB + Engine InnoDB
    wp_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_term_relationships: Data: 3.05MB + Index: 2.05MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 4.50MB + Index: 3.38MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 1.52MB + Index: 2.70MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 5754
    page: 7
    post: 2
    product: 1920
    product_variation: 6951
    revision: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (1) ###
    
    WooCommerce: by Automattic – 6.9.4
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (1) ###
    
    object-cache.php: Object Cache Pro (Drop-in)
    
    ### Must Use Plugins (1) ###
    
    Object Cache Pro (MU): by Rhubarb Group – 1.15.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ✔
    
    ### WC Pages ###
    
    Shop base: #6 - /shop
    Cart: #7 - /cart
    Checkout: #8 - /checkout
    My account: #9 - /my-account
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Storefront
    Version: 4.1.3
    Author URL: https://woocommerce.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-09-29 06:26:08 +00:00
    Options: ✔
    Notes: 40
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 17,058
    Oldest: 2022-09-28 06:33:18 +0000
    Newest: 2022-09-28 14:21:36 +0000
    
    Pending: 1
    Oldest: 2022-09-29 06:26:29 +0000
    Newest: 2022-09-29 06:26:29 +0000
    
    ### Status report information ###
    
    Generated at: 2022-09-28 14:30:23 +00:00
    

    Please advise, Thanks.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Saif

    (@babylon1999)

    Hello @bramvds,

    Thank you for providing all of this!

    Everything looks healthy in the report. Can you please check with your web host and see if they have any server logs?

    Perhaps you can catch an error code or two that can help us understand what’s going on here. 🙂

    Thread Starter bramvds

    (@bramvds)

    No error codes.
    Only the slow php request page:
    https://snipboard.io/hsAtZV.jpg

    i could give temp login permission in the admin?

    Hi @bramvds

    Thanks for sharing the screenshots.

    Could you please check the support article about Troubleshooting a Slow Site and see if this helps resovles the issue?

    Thread Starter bramvds

    (@bramvds)

    Thanks, but of course these are not the problems. I do not have a slow site. Only a slow product edit. Even quick product edit is fast. So really only product edit pages.
    As i already mentioned: Clean install of woocommerce, no other plugins, storefront theme. No significant change if i use wp rocket, wp optimize or so.
    Could someone please check and try the product csv. I am sure it will be the same:
    https://drive.google.com/file/d/1bphdVSrVvqLziD0-q4cp8wqeTvOnO0pD/view?usp=sharing

    Plugin Support Pepe (woo-hc)

    (@anastas10s)

    Hi there @bramvds 👋

    As i already mentioned: Clean install of woocommerce, no other plugins, storefront theme. No significant change if i use wp rocket, wp optimize or so.
    Could someone please check and try the product csv.

    I just spun a fresh WooCommerce test install and started the importer for the products in the .CSV file. It seems to be taking some time, since there are a lot of products and variations to import, so I’ll go ahead with updating here with the findings after it is completed.

    Thread Starter bramvds

    (@bramvds)

    @anastas10s Thanks, hope you will have the same result.

    Plugin Support Pepe (woo-hc)

    (@anastas10s)

    Hi there @bramvds 👋

    As i already mentioned: Clean install of woocommerce, no other plugins, storefront theme. No significant change if i use wp rocket, wp optimize or so.
    Could someone please check and try the product csv.

    @anastas10s Thanks, hope you will have the same result.

    I went ahead with trying on two test installations, one local and another on a server, online; just to make sure.

    I’m happy to report that in both situations, everything was rapidly responding; sorry! Both clean installs, with only WooCommerce installed and, just to make things a bit more interesting, in one with the Storefront and the other with the Twenty Twenty-Two theme active.

    Could you check if you are able to reproduce the issue you are reporting here under the following conditions:

    1. An unmodified, default WordPress theme such as Twenty Twenty or Storefront active.
    2. No other plugins except for WooCommerce active.

    If yes, please do open an issue here: https://github.com/woocommerce/woocommerce/issues

    • This reply was modified 1 year, 6 months ago by Pepe (woo-hc). Reason: typos
    Thread Starter bramvds

    (@bramvds)

    @anastas10s Thanks, i did try with the same setup on a different simple server, and no problems there. So although cloudways keeps telling it is not a problem in there servers in only happens with cloudways vultr servers. I will update later.

    Thanks for now.

    Hi @bramvds

    So although cloudways keeps telling it is not a problem in there servers in only happens with cloudways vultr servers. I will update later.

    We’re glad you were able to find the culprit of this issue but still let us know how the testing goes! 🙂

    Thread Starter bramvds

    (@bramvds)

    @anastas10s @xue28
    ok, so now the case is that if i use the less bloated csv to import loading of the product edit page is not slow, but if using the original csv it goes from a few seconds to 1 minute to go to product edit page.
    Could somebody try or check the original csv and advise me what is the cause of this? I am pretty sure this will happen with you if you import original all data csv.

    https://drive.google.com/drive/folders/127bDUPUlVpAJYbVrdvbhI1VGTUOzXH81?usp=sharing

    Thanks in advance

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘backend edit products extremely slow, 40-60 seconds’ is closed to new replies.