• Resolved katyca

    (@katyca)


    Since the second half of 2022 I’m having serious problems with high CPU consumption.


    I went up to the cloud plan and had to go to the VPS so the site wouldn’t crash anymore.


    Even so, when I try to make a change to an attribute or product, the CPU starts to spike up to 80%… 90%.

    Before I didn’t have this kind of problem and kept the same theme and plugins. There were no changes.

    We’ve already optimized it, leaving only the plugins that are really essential. The problem continues.

    Here is the woocommerce report. I ask the woocommerce masters for help, because I really don’t know what else to do. Thanks!

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.arterama.com.br
    Site address (URL): https://www.arterama.com.br
    WC Version: 7.5.1
    REST API Version: ?</img> 7.5.1
    WC Blocks Version: ?</img> 9.6.6
    Action Scheduler Version: ?</img> 3.5.4
    Log Directory Writable: ?</img>
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: pt_BR
    External object cache: ?</img>
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 8.1.14
    PHP Post Max Size: 256 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 8000
    cURL Version: 7.81.0
    OpenSSL/3.0.2
    
    SUHOSIN Installed: –
    MySQL Version: 10.6.12-MariaDB-0ubuntu0.22.04.1
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    ### Database ###
    
    WC Database Version: 7.5.1
    WC Database Prefix: wp_
    Tamanho total do banco de dados: 1105.06MB
    Tamanho dos dados do banco de dados: 818.99MB
    Tamanho do índice do banco de dado: 286.07MB
    wp_woocommerce_sessions: Dados: 1.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_woocommerce_api_keys: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wp_woocommerce_order_items: Dados: 0.23MB + índex: 0.08MB + mecanismo InnoDB
    wp_woocommerce_order_itemmeta: Dados: 3.52MB + índex: 3.03MB + mecanismo InnoDB
    wp_woocommerce_tax_rates: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wp_woocommerce_tax_rate_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_shipping_zones: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_woocommerce_payment_tokens: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    ahc_countries: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB
    ahc_hits: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    ahc_keywords: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    ahc_search_engines: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    ahc_settings: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_actionscheduler_actions: Dados: 22.05MB + índex: 22.38MB + mecanismo InnoDB
    wp_actionscheduler_claims: Dados: 0.06MB + índex: 0.05MB + mecanismo InnoDB
    wp_actionscheduler_groups: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_actionscheduler_logs: Dados: 14.52MB + índex: 9.03MB + mecanismo InnoDB
    wp_ac_segments: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_admin_columns: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_apex_notification_bar: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_cky_banners: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB
    wp_cky_cookies: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_cky_cookie_categories: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_cmeb_email_list: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_cmeb_free_domains: Dados: 0.13MB + índex: 0.00MB + mecanismo InnoDB
    wp_cmeb_userlist: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_commentmeta: Dados: 0.17MB + índex: 0.17MB + mecanismo InnoDB
    wp_comments: Dados: 3.52MB + índex: 1.31MB + mecanismo InnoDB
    wp_eum_logs: Dados: 0.34MB + índex: 0.00MB + mecanismo InnoDB
    wp_followup_coupons: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_followup_coupon_logs: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_followup_customers: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wp_followup_customer_orders: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_followup_email_excludes: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_followup_order_categories: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_followup_order_items: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_followup_subscribers: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_followup_subscribers_to_lists: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_followup_subscriber_lists: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_frontend_post_forms: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_frontend_post_form_meta: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB
    wp_gift_by_order: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_gift_products: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_links: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_litespeed_img_optm: Dados: 5.52MB + índex: 3.03MB + mecanismo InnoDB
    wp_litespeed_img_optming: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_litespeed_url: Dados: 0.25MB + índex: 0.31MB + mecanismo InnoDB
    wp_litespeed_url_file: Dados: 0.36MB + índex: 1.06MB + mecanismo InnoDB
    wp_ms_snippets: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_options: Dados: 38.19MB + índex: 2.33MB + mecanismo InnoDB
    wp_postmeta: Dados: 625.98MB + índex: 185.38MB + mecanismo InnoDB
    wp_posts: Dados: 42.56MB + índex: 23.03MB + mecanismo InnoDB
    wp_pys_stat_order: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_qcld_conversion_tracker: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_smartcrawl_redirects: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_smush_dir_images: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_snippets: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_termmeta: Dados: 0.45MB + índex: 0.42MB + mecanismo InnoDB
    wp_terms: Dados: 1.52MB + índex: 0.94MB + mecanismo InnoDB
    wp_term_relationships: Dados: 4.52MB + índex: 2.47MB + mecanismo InnoDB
    wp_term_taxonomy: Dados: 1.52MB + índex: 1.95MB + mecanismo InnoDB
    wp_tm_taskmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_tm_tasks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_usermeta: Dados: 4.52MB + índex: 3.03MB + mecanismo InnoDB
    wp_users: Dados: 0.23MB + índex: 0.19MB + mecanismo InnoDB
    wp_wcuf_upload_sessions: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wc_admin_notes: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wc_admin_note_actions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wc_category_lookup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wc_customer_lookup: Dados: 0.16MB + índex: 0.11MB + mecanismo InnoDB
    wp_wc_download_log: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_wc_gpf_render_cache: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wc_order_coupon_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_wc_order_product_lookup: Dados: 0.23MB + índex: 0.23MB + mecanismo InnoDB
    wp_wc_order_stats: Dados: 0.14MB + índex: 0.14MB + mecanismo InnoDB
    wp_wc_order_tax_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_wc_product_attributes_lookup: Dados: 9.55MB + índex: 6.55MB + mecanismo InnoDB
    wp_wc_product_download_directories: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wc_product_meta_lookup: Dados: 11.52MB + índex: 15.41MB + mecanismo InnoDB
    wp_wc_rate_limits: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wc_reserved_stock: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wc_tax_rate_classes: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wc_webhooks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wdr_order_discounts: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wdr_order_item_discounts: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wdr_rules: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wfblockediplog: Dados: 0.08MB + índex: 0.00MB + mecanismo InnoDB
    wp_wfblocks7: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_wfconfig: Dados: 1.38MB + índex: 0.00MB + mecanismo InnoDB
    wp_wfcrawlers: Dados: 1.11MB + índex: 0.00MB + mecanismo InnoDB
    wp_wffilechanges: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wffilemods: Dados: 9.52MB + índex: 0.00MB + mecanismo InnoDB
    wp_wfhits: Dados: 1.06MB + índex: 0.25MB + mecanismo InnoDB
    wp_wfhoover: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wfissues: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wp_wfknownfilelist: Dados: 4.52MB + índex: 0.00MB + mecanismo InnoDB
    wp_wflivetraffichuman: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wflocs: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wflogins: Dados: 0.20MB + índex: 0.06MB + mecanismo InnoDB
    wp_wfls_2fa_secrets: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wfls_role_counts: Dados: 0.00MB + índex: 0.00MB + mecanismo MEMORY
    wp_wfls_settings: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wfnotifications: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wfpendingissues: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wp_wfreversecache: Dados: 0.06MB + índex: 0.00MB + mecanismo InnoDB
    wp_wfsnipcache: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_wfstatus: Dados: 0.19MB + índex: 0.11MB + mecanismo InnoDB
    wp_wftrafficrates: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_woocommerce_gpf_google_taxonomy: Dados: 3.52MB + índex: 0.22MB + mecanismo InnoDB
    wp_wpbot_failed_response: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wpbot_subscription: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wpfm_backup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_wpforms_entries: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wpforms_entry_fields: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_wpforms_entry_meta: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wpmailsmtp_debug_events: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wp_yoast_indexable: Dados: 2.52MB + índex: 0.92MB + mecanismo InnoDB
    wp_yoast_indexable_hierarchy: Dados: 0.16MB + índex: 0.23MB + mecanismo InnoDB
    wp_yoast_migrations: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_yoast_primary_term: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wp_yoast_prominent_words: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_yoast_seo_links: Dados: 0.06MB + índex: 0.03MB + mecanismo InnoDB
    
    ### Post Type Counts ###
    
    a2w_shipping: 42
    acf-field: 6
    adstxt: 1
    app-adstxt: 1
    attachment: 43116
    awdp_pt_rules: 1
    b2s_ex_post: 1
    br_product_tab: 4
    br_tabs_location: 2
    branda_email_log: 5
    condition_group: 1
    cookielawinfo: 6
    csp_rules: 1
    custom_css: 6
    extra_product_tab: 4
    ffw: 1
    follow_up_email: 2
    gfw_report: 6
    mailpoet_page: 1
    master-popups: 1
    mycred_coupon: 1
    mycred_email_notice: 2
    nav_menu_item: 33
    newsletter: 2
    oembed_cache: 169
    page: 8
    popup: 1
    popup_theme: 16
    post: 3
    postman_sent_mail: 6
    pretty-link: 1
    product: 2514
    product_variation: 82323
    product-feed: 1
    pwbe_filter: 1
    pys_event: 1
    raccartlist: 1
    racemailtemplate: 2
    racmaillog: 17
    racrecoveredorder: 8
    restriction: 1
    shop_coupon: 1
    shop_order: 1047
    shop_order_refund: 28
    stgh_ticket: 19
    stgh_ticket_comments: 54
    ufaq: 1
    vc4_templates: 1
    wc_dynamic_pricing: 2
    wc_order_status: 9
    wcae_tracking: 1137
    wccc: 2
    wcpa_pt_forms: 1
    wcsts_ticket: 18
    wcsts_ticket_message: 40
    wobd-badge-designer: 1
    wp_automatic: 1
    wpcode: 2
    wpforms: 2
    wphb_minify_group: 1
    wprss_feed: 1
    wprss_feed_item: 10
    wprss_feed_template: 1
    wpuf_forms: 1
    wpuf_input: 10
    wpuf_profile: 1
    xlwcty_thankyou: 2
    yith-wcbm-badge: 1
    yith-wccos-ostatus: 10
    yith-wcdppm-rule: 1
    yith-wcet-etemplate: 1
    yith-wcgpf-feed: 1
    yith-wcgpf-template: 1
    ywrac_cart: 7
    ywrac_email: 2
    ywtm_tab: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    ### Active Plugins (27) ###
    
    Admin Columns Pro: por AdminColumns.com – 6.1.3
    AliNext: por Ali2Woo Team – 3.0.14
    Autocomplete Address for WooCommerce: por Fernando Acosta – 1.1.0
    CookieYes | GDPR Cookie Consent: por CookieYes – 3.0.8
    Joinchat: por Creame – 4.5.20
    Decorator - WooCommerce Email Customizer: por WebToffee – 1.2.4
    Hide Content by User Role for WPBakery: por wpTerra – 1.2.3
    WPBakery: por Michael M - WPBakery.com – 6.10.0
    LiteSpeed Cache: por LiteSpeed Technologies – 5.3.3
    Loco Translate: por Tim Whitlock – 2.6.4
    Product Catalog Feed Pro by PixelYourSite: por PixelYourSite – 5.3.2
    Easy Updates Manager: por Easy Updates Manager Team – 9.0.14
    UpdraftPlus - Backup/Restore: por UpdraftPlus.Com
    DavidAnderson – 2.23.3.26
    
    WC Simulador de parcelas e descontos: por Fernando Acosta – 2.2.0
    Checkout Field Editor for WooCommerce: por ThemeHigh – 1.8.2
    Preview E-mails for WooCommerce: por Digamber Pradhan – 2.1.1
    Brazilian Market on WooCommerce: por Claudio Sanches – 3.7.2
    Mercado Pago payments for WooCommerce: por Mercado Pago – 6.7.2
    WooCommerce Variation Swatches Images: por ma_group – 1.0.10
    WooCommerce: por Automattic – 7.5.1
    WooCommerce AliExpress Shipment Tracking: por ma_group – 1.1.11
    Wordfence Security: por Wordfence – 7.9.2
    Yoast SEO Premium: por Equipe da Yoast – 20.3
    Yoast SEO: por Equipe Yoast – 20.3
    Yoast SEO: WooCommerce: por Time Yoast – 15.5
    Zass Plugin: por theAlThemist – 2.3.9
    Zoho Mail: por Zoho Mail – 1.4.9
    
    ### Inactive Plugins (0) ###
    
    
    ### Dropin Plugins (1) ###
    
    object-cache.php: object-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: BRL (R$)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    gift-card (gift-card)
    grouped (grouped)
    pw gift card (pw-gift-card)
    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: –
    Order datastore: WC_Order_Data_Store_CPT
    
    ### WC Pages ###
    
    Base da loja: #1377 - /loja/
    Carrinho: #6 - /carrinho/
    Finaliza??o de compra: #836319 - /checkout-2/
    Minha conta: ?</img> A página n?o contém o shortcode [woocommerce_my_account].
    Termos e condi??es: ?</img> Página n?o definida
    
    ### Theme ###
    
    Name: Zass Child
    Version: (atualiza??o para a vers?o 0 está disponível)
    Author URL: 
    Child Theme: ?</img>
    Parent Theme Name: Zass
    Parent Theme Version: 3.9.9.1
    Parent Theme Author URL: https://www.althemist.com
    WooCommerce Support: ?</img>
    
    ### Templates ###
    
    Overrides: zass/woocommerce/archive-product.php
    zass/woocommerce/cart/cart.php vers?o 7.0.1 está desatualizado. A vers?o do core é 7.4.0
    zass/woocommerce/content-product-cat.php
    zass/woocommerce/content-product.php
    zass/woocommerce/content-single-product.php
    zass/woocommerce/content-widget-product.php
    zass/woocommerce/content-widget-reviews.php
    zass/woocommerce/global/quantity-input.php vers?o 7.2.2 está desatualizado. A vers?o do core é 7.4.0
    zass/woocommerce/global/sidebar.php
    zass/woocommerce/global/wrapper-end.php
    zass/woocommerce/global/wrapper-start.php
    zass/woocommerce/loop/add-to-cart.php
    zass/woocommerce/loop/loop-end.php
    zass/woocommerce/loop/loop-start.php
    zass/woocommerce/loop/orderby.php
    zass/woocommerce/loop/pagination.php
    zass/woocommerce/loop/price.php
    zass/woocommerce/loop/sale-flash.php
    zass/woocommerce/myaccount/my-account.php
    zass/woocommerce/product-searchform.php
    zass/woocommerce/single-product/meta.php
    zass/woocommerce/single-product/related.php
    zass/woocommerce/single-product/short-description.php
    zass/woocommerce/single-product/title.php
    zass/woocommerce/single-product.php
    
    Outdated Templates: ?</img>
    					
    					
    						Aprenda como atualizar
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-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
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ?</img> Next scheduled: 2023-04-04 14:22:06 -03:00
    Options: ?</img>
    Notes: 2
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Cancelado: 1
    Oldest: 2023-03-22 00:57:17 -0300
    Newest: 2023-03-22 00:57:17 -0300
    
    Concluído: 70.441
    Oldest: 2023-03-03 21:58:02 -0300
    Newest: 2023-04-03 14:55:46 -0300
    
    Malsucedido: 16
    Oldest: 2023-03-21 21:19:33 -0300
    Newest: 2023-03-31 18:40:13 -0300
    
    Pendente: 3
    Oldest: 2023-04-04 09:13:09 -0300
    Newest: 2023-04-06 01:04:13 -0300
    
    
    ### Status report information ###
    
    Generated at: 2023-04-03 16:16:05 -03:00
    `

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @katyca

    Thanks for reaching out!

    I’m sorry to hear that you’re experiencing high CPU consumption issues with your site even when updating a product, correct?

    Checking the site’s System Status Report, I can see that you are using the updated versions of plugins needed to run WooCommerce smoothly.

    First, please check for plugin conflicts. I recommend performing a conflict test by deactivating all plugins except WooCommerce and then reactivating them one by one, monitoring CPU usage each time.

    Next, please update outdated templates on your site by following our guide here: Fixing Outdated WooCommerce Templates

    Check for cron jobs and scheduled tasks. Some tasks running in the background, such as cron jobs or scheduled tasks, can cause high CPU usage. Check if any tasks are running more frequently than necessary or if any tasks can be optimized.

    I did some research and found this article about How To Reduce CPU Usage In WordPress (Make Your Website Run More Efficiently) would be helpful as well.

    Once you’ve tried the above steps, please monitor your CPU usage and let us know if the issue persists. If it does, kindly provide us with more detailed information, such as any error logs that you can find under WooCommerce > Status > Logs.

    Hope this helps!

    @katyca we have noticed that you’re using our plugin (AliNext). If you have too many products in your store and have sync option enabled in plugin settings, then it can create high CPU load.

    Below I put more detailed explanation and tips to optimize your server load.

    AliNext runs the auto-sync task every 5 minutes. It will check if there are any old products (with last update time more than 24 hrs). If it found such products, it will take 100 products max and?make 100 / 5 = 20 requests to update them.

    You can manage these values using your wp-config.php. So below you can find the constants which you can use and its default values.

    define(‘A2W_UPDATE_PER_SCHEDULE’, 100);
    define(‘A2W_UPDATE_PER_REQUEST’, 5);
    define(‘A2W_UPDATE_PERIOD_DELAY’, 60*60*24);

    if your server is overloaded with so large amount of products, try to simplify task for your server.

    For example, you can decrease the following value a bit

    define(‘A2W_UPDATE_PER_SCHEDULE’, 50);

    Also, if you don’t need to synchronze products every day and want to synchronize them one per two days, you can increase the following containt too:

    ???????define(‘A2W_UPDATE_PERIOD_DELAY’, 2*60*60*24);

    Please remember you have to put these lines to the wordpress config file:? wp-config.php

    Thread Starter katyca

    (@katyca)

    Hi @ali2woo

    I have the synchronization disabled because woocommerce itself is consuming a lot of CPU resources. I had already talked to AliNext support and they gave me the same guidelines to optimize the CPU. First I will find the problem in woocommerce so I can get back with the sync. Thanks!

    • This reply was modified 1 year, 7 months ago by katyca.
    Thread Starter katyca

    (@katyca)

    Hi @xue28

    I will follow your instructions and come back with more information. Thanks!

    Thread Starter katyca

    (@katyca)

    @xue28

    I noticed that it has a hook that repeats many times throughout the day.

    action_scheduler/migration_hook

    image => https://drive.google.com/drive/folders/1acXjrIn59LCI6VqKLO8rUiLwC5_ggBuy?usp=sharing

    This is normal?

    • This reply was modified 1 year, 7 months ago by katyca.
    Saif

    (@babylon1999)

    Hello @katyca,

    It’s not called that often on my test site nor should it be. ??

    I did some digging and found a similar issue here
    , seems to be related to the WPForms plugin.

    Although you don’t have the plugin on your site, I can see its tables are still in your database:

    wp_wpforms_entries: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wp_wpforms_entry_fields: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wp_wpforms_entry_meta: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB

    I suggest you get in touch with their team on how to remove any traces of their plugin after deleting it. Alternatively, you can check this guide.

    Hope this helps!

    Saif

    (@babylon1999)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Woocommerce consuming too much CPU resource’ is closed to new replies.