Support » Plugin: Slimstat Analytics » Slimstat is very slow on WPML site

  • Resolved MikaelG

    (@armbreaker)


    Hi.

    I have Storefront installed with child theme Proshop and WPML enabled. And when enabling Slimstat everything is so slow. Even the widget on the startpage in Admin panel takes forever to display any kind of information.
    Are there any compatibility problems between Slimstat and WPML?

    Best regards,
    Mikael

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Hi,

    can you go to Slimstat > Settings > Basic and turn off the option to show Slimstat’s widgets on the Dashboard? Let me know if that helps.

    Thank you,
    Jason

    Okay, will try that. But also notices this in the widget I think is called Access Log in English: https://i.imgur.com/3SZ05Nd.jpg
    The setting is to auto refresh every 10 minutes. But there isn’t any time at all visible and it don’t autorefresh at all.

    And I run this plugin on another site with exactly the same settings for Everything, and it works fine there.

    Some something seems to mess things up…

    Didn’t make any difference. Disabled the plugin for now. But would really love to use it… Have been using it on my other site for several years, and very happy with the information the plugin provides.

    Plugin Author Jason Crouse

    (@coolmann)

    Something must be different between the two sites: plugins, wp version, php version, MySQL configuration. Could you please check those and let me know? Also, do you have Browscap and Maxmind installed on both?

    Hi.

    Yes, the plugins differ as the site with problem is running WPML, WooCommerce and plugins to extend WooCommerce and the other site is just providing information and blog posts etc.

    I will paste the WooCommerce Status report here which displays all information about the site, plugins etc. Please note that I uninstalled SlimStat for now. Please see if anything can give you a clue why the Access log don’t autorefresh and the slow site performance when enabling SlimStat.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.armsportbutiken.se
    Site address (URL): https://www.armsportbutiken.se
    WC Version: 3.6.2
    Log Directory Writable: ✔
    WP Version: 5.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: sv_SE
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2
    PHP Version: 7.3.5
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.62.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.14-MariaDB
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.6.2
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total databasstorlek: 41.94MB
    Datastorlek för databas: 24.28MB
    Indexstorlek för databas: 17.66MB
    wp_woocommerce_sessions: Data: 0.16MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_aiowps_events: Data: 0.08MB + Index: 0.00MB
    wp_aiowps_failed_logins: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_login_lockdown: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB
    wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB
    wp_comments: Data: 0.00MB + Index: 0.00MB
    wp_icl_content_status: Data: 0.02MB + Index: 0.02MB
    wp_icl_core_status: Data: 0.02MB + Index: 0.02MB
    wp_icl_flags: Data: 0.02MB + Index: 0.02MB
    wp_icl_languages: Data: 0.02MB + Index: 0.03MB
    wp_icl_languages_translations: Data: 0.20MB + Index: 0.13MB
    wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB
    wp_icl_message_status: Data: 0.02MB + Index: 0.03MB
    wp_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB
    wp_icl_node: Data: 0.02MB + Index: 0.00MB
    wp_icl_reminders: Data: 0.02MB + Index: 0.00MB
    wp_icl_strings: Data: 4.52MB + Index: 6.94MB
    wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB
    wp_icl_string_pages: Data: 12.52MB + Index: 7.52MB
    wp_icl_string_positions: Data: 0.28MB + Index: 0.08MB
    wp_icl_string_status: Data: 0.02MB + Index: 0.02MB
    wp_icl_string_translations: Data: 2.52MB + Index: 1.52MB
    wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB
    wp_icl_translate: Data: 0.28MB + Index: 0.05MB
    wp_icl_translate_job: Data: 0.02MB + Index: 0.02MB
    wp_icl_translations: Data: 0.08MB + Index: 0.17MB
    wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB
    wp_icl_translation_status: Data: 0.38MB + Index: 0.02MB
    wp_imagify_files: Data: 0.02MB + Index: 0.08MB
    wp_imagify_folders: Data: 0.02MB + Index: 0.03MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_ms_snippets: Data: 0.02MB + Index: 0.00MB
    wp_options: Data: 0.92MB + Index: 0.08MB
    wp_postmeta: Data: 1.07MB + Index: 0.15MB
    wp_posts: Data: 0.20MB + Index: 0.04MB
    wp_shipment_batch_process: Data: 0.02MB + Index: 0.00MB
    wp_snippets: Data: 0.05MB + Index: 0.00MB
    wp_termmeta: Data: 0.05MB + Index: 0.03MB
    wp_terms: Data: 0.01MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.04MB
    wp_term_taxonomy: Data: 0.01MB + Index: 0.02MB
    wp_usermeta: Data: 0.01MB + Index: 0.01MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB
    wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB
    wp_wcpdf_proforma_number: Data: 0.02MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_woo_shipment_status_email: Data: 0.02MB + Index: 0.00MB
    wp_woo_shippment_provider: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 226
    br_labels: 6
    custom_css: 1
    nav_menu_item: 44
    page: 18
    post: 3
    product: 26
    product_variation: 36
    shop_coupon: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (41) ###
    
    WPML Multilingual CMS: av OnTheGoSystems – 4.2.6
    Advanced Database Cleaner: av Younes JFR. – 2.0.0
    AJAX Search for WooCommerce: av Damian Góra – 1.4.0
    All In One WP Security: av Tips and Tricks HQ
    Peter Petreski
    Ruhul
    Ivy – 4.3.9.1
    
    Classic Editor: av Bidragsgivare till WordPress – 1.5
    Code Snippets: av Shea Bunge – 2.13.3
    Customer Reviews for WooCommerce: av ivole – 3.71
    Edit Author Slug: av Brandon Allen – 1.6.0
    Email Address Encoder: av Till Krüss – 1.0.19
    Flexible Shipping: av WP Desk – 3.3.12
    Google XML Sitemaps: av Arne Brachhold – 4.1.0
    Imagify: av WP Media – 1.9.1
    Klarna Checkout för WooCommerce: av Krokedil – 1.9.6 – Inte testat med den aktiva versionen för WooCommerce
    Klarna Order Management for WooCommerce: av klarna
    krokedil – 1.2.5 – Inte testat med den aktiva versionen för WooCommerce
    
    Maintenance Switch: av Fugu – 1.5.2
    Prevent Browser Caching: av Kostya Tereshchuk – 2.3.1
    Revision Control: av Dion Hulse – 2.3.2
    Sitewide Notice WP: av Yoohoo Plugins – 2.0.4
    Storefront Blog Customiser: av WooCommerce – 1.3.0
    Storefront Footer Bar: av WooThemes – 1.0.4
    Storefront Parallax Hero: av WooCommerce – 1.5.7
    Storefront Powerpack: av WooCommerce – 1.4.15
    Storefront Product Sharing: av WooCommerce – 1.0.6
    Storefront Reviews: av WooCommerce – 1.0.5 – Inte testat med den aktiva versionen för WooCommerce
    Open Graph för Facebook, Google+ och Twitter korttaggar: av Webdados – 2.2.6.1
    Advanced Shipment Tracking for WooCommerce: av zorem – 1.9.5.2
    WooCommerce Cart Weight: av WP Desk – 1.1.6
    WooCommerce Advanced Product Labels: av BeRocket – 3.1.6.2 – Inte testat med den aktiva versionen för WooCommerce
    WooCommerce Swish Gateway: av Redlight Media – 3.0.1 – Inte testat med den aktiva versionen för WooCommerce
    WooCommerce Multilingual: av OnTheGoSystems – 4.6.2.1
    WooCommerce PDF Invoices & Packing Slips: av Ewout Fernhout – 2.2.12
    WooCommerce PDF Invoices & Packing Slips Professional: av Ewout Fernhout – 2.2.14
    WooCommerce PDF Invoices & Packing Slips Premium Templates: av Ewout Fernhout – 2.6.2 – Inte testat med den aktiva versionen för WooCommerce
    WooCommerce: av Automattic – 3.6.2
    WP Rollback: av Impress.org – 1.6
    WPFront Scroll Top: av Syam Mohan – 2.0.1
    WPML Media: av OnTheGoSystems – 2.5.2
    WPML String Translation: av OnTheGoSystems – 2.10.4
    WPML Translation Management: av OnTheGoSystems – 2.8.5
    WP Overnight Sidekick: av Jeremiah Prummer
    Ewout Fernhout
    Michael Kluver – 2.0.4
    
    WPS Hide Login: av WPServeur
    NicolasKulka
    tabrisrp – 1.5.2.1
    
    ### Inactive Plugins (1) ###
    
    Regenerate Thumbnails: av Alex Mills (Viper007Bond) – 3.1.0
    
    ### Dropin Plugins (1) ###
    
    maintenance.php: maintenance.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: SEK (kr)
    Currency Position: right
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    woosb (woosb)
    
    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: ✔
    
    ### WC Pages ###
    
    Butikbas: #43 - /butik/
    Varukorg: #44 - /varukorg/
    Kassan: #45 - /kassan/
    Mitt konto: #46 - /mitt-konto/
    Allmänna villkor: #10 - /kopvillkor/
    
    ### Theme ###
    
    Name: ProShop
    Version: 2.0.15
    Author URL: https://woocommerce.com
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 2.4.6 – 2.5.0 finns tillgänglig
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Klarna Checkout ###
    
    Orders created via API callback: 0% (0 of 0) of all orders paid via Klarna Checkout were created via API callback during the last month. This is a fallback order creation feature. You should aim for 0%.
    
    ### Action Scheduler ###
    
    Complete: 0
    Oldest: –
    Newest: –
    
    Pending: 0
    Oldest: –
    Newest: –
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    
    Plugin Author Jason Crouse

    (@coolmann)

    This configuration looks fine to me, more than enough to handle the kind of load that Slimstat adds to the system to record page views and other information. Are they both hosted on the same provider?

    Yes, they are. Just different accounts, to not steal performance from each other. And I checked everything I could think of. But everything is the same, PHP version, php entensions, php settings and so on.
    Do you think it could be another plugin that interferes with Slim Stat?

    Plugin Author Jason Crouse

    (@coolmann)

    It could be that WPML is causing the problem. Would you be able to test WPML on the other site to see if it causes the same issue?

    Sorry, only have license for one site, so can’t do that. Both sites are live to, so can’t play around to much.

    Curious if this has to do with the fact that I run 2 different languages and using the feature of WPML to have separate domain names for both languages.

    So Swedish site is: https://www.armsportbutiken.se

    And English site is: https://www.armsportstore.com

    But both are actually same site and same install. Just a thought, that it might confuse Slimstat that visitors are on two different domains?

    Plugin Author Jason Crouse

    (@coolmann)

    @armbreaker could you setup a clone of your live sites just for yourself? In that case even if you don’t have a valid license, WPML should work anyway, no?

    Hi.

    I did as you asked and setup a clone site. Found what kills the auto refresh and affecting performance. AND this kills the autorefresh even on the site Without WPML, so it isn’t connected to that. It is the Async mode. If it is on, auto refresh of the Access Log dies and the times disappears.

    This is also the cause for the performance degradation. If Async is disabled, the performance of everything done on in the Admin Panel is obviously much more responsive.

    Would like to add that I run WP Security on both sites and have pretty tight security settings. Could this play a role in this somehow blocking the Async feature? Or is it a bug with that feature plain and simple?

    Just tell me if you want access to the clone install and I would be happy to let you try yourself.

    • This reply was modified 1 month, 1 week ago by  MikaelG.

    … duplicate post…

    • This reply was modified 1 month, 1 week ago by  MikaelG.
    Plugin Author Jason Crouse

    (@coolmann)

    Thank you for experimenting with this. It’s really helpful information. I can definitely look into the countdown timer not working with autorefresh, it must be a bug. As for the performance issue, it feels like the security plugin is detecting too many requests in a short period of time (which is caused by the concurrent ajax requests initiated by the various reports) and it slows them down. Maybe it makes sense to stagger requests over a few seconds, so that they don’t happen all at once. I can definitely look into implementing that. In the meanwhile, does it work better if you disable Async mode?

    Jason

    Hi.
    Yes, much better. Have installed Slimstat on the live site now, so will let it be active for now and see if everything is working as intended.

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