Support » Fixing WordPress » Latency Issue / Error 500 / CloudLinux throttling in some sections of wordpress

  • Hi,
    When we:
    – Try and process some megamenu changes (to extend the menu)
    – Go into Products “All Products” and see the list of items, we are encountering an error 500 / “Can’t reach this page” error.

    Here is some feedback from our host, but would welcome any more specific suggestions?

    First of all I can confirm that it isn’t related to either the DNS server or your internet connection.

    The latency are most likely resultant of the script you are using. Based on logs it seems like they are attempting to utilize an inordinate amount of server resources at brief intervals, and thus it results in CloudLinux throttling your account briefly. Here is a graph which shows the resource usage of your account over the past 24 hours (Capture.PNG). The vertical neon-green lines (faults) are the instances when there were throttling going on.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your Dashboard, try deactivating all plugins. If you don’t have access to your Dashboard, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Twenty theme to rule-out a theme-specific issue. If you don’t have access to your Dashboard, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that specific time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

    In this particular case, it seems clear that @marcelteaching’s site is hitting some resource limit imposed by the host, and enforced by CloudLinux. This is the only reason shared hosting provides PAY to use this Linux distro… to be able to enforce resource limits (CPU, RAM, inodes, etc) for individual accounts, while promising unlimited space, unlimited bandwidth and websites sites.

    Whether the site should be hitting those limits at all (ie whether this “inordinate amount of server resources” is to be considered “normal” for the kind of website and traffic… or is indicative of a fault) is a different matter, and is not something any outsider without access to any data can say, as:

    1. ) We don’t know what’s on your site (a handful of products or thousands? A few blog posts or thousands? A few thousands of monthly page views or millions?)
    2. We don’t know what kind of shared hosting plan you have, what are your limits, and what would be considered “inordinate amount of server resources”
    Thread Starter marcelteaching

    (@marcelteaching)

    Really appreciate this feedback, I am passing this through to the Host and will keep this thread updated.
    Once I get more specific information, I will update.
    Thanks so much, let me know if you have any other ideas in the meantime.

    It is shared hosting. The pack I am on has:
    10 GB Disk Space (I am using about 5)
    100 GB Bandwidth
    Unlimited Add-on Domains
    Unlimited Parked Domains
    Unlimited Subdomains
    Unlimited Email Accounts
    Unlimited FTP Accounts
    Unlimited MySQL Databases

    There are 226 products, 12-16 blog posts, a thousand visitors a month.

    These are the plugins active:
    Afterpay Gateway for WooCommerce

    Akismet Anti-Spam
    Astounding Spam Prevention
    Classic Editor
    CM Tooltip Glossary
    Decision Tree
    Google Analytics Dashboard for WP (GADWP)
    Honeypot WooCommerce – WordPress AntiSpam
    HTTP Headers
    iThemes Security Pro
    Limit Login Attempts Reloaded
    LiteSpeed Cache
    Max Mega Menu
    McAfee SECURE
    Modern Footnotes
    Pikart Base
    POLi Payments
    Really Simple SSL
    Salt Shaker
    Sitewide Notice WP
    Smush
    Squirrly SEO 2021 (Smart Strategy)
    Subresource Integrity (SRI) Manager
    TablePress
    UpdraftPlus – Backup/Restore
    WooCommerce
    WooCommerce Helper
    WooCommerce Stripe Gateway
    Wordfence Security
    WP Mail Logging
    WP-Print
    WPBakery Page Builder
    WPForms Lite

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Let me know when you’ve tried the steps in my reply.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Latency Issue / Error 500 / CloudLinux throttling in some sections of wordpress’ is closed to new replies.