• Resolved linkedmedia

    (@linkedmedia)


    I started getting 503 errors due to memory usage. I’ve narrowed it down to something in the database cache. Everything else is caching fine. I’ve unistalled, cleaned up the files on the server and reset the htaccess file- removing any and all mentions of w3TC before reinstalling, and the issue still persists.

    We’re on GoDaddy, using the latest version of Divi Theme and WP 6.6.1 and php 8. Heres an example of the errors from the log: [12-Aug-2024 16:37:18 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/vguijstpnlix/public_html/wp-content/plugins/w3-total-cache/Config.php on line 136 [12-Aug-2024 16:37:23 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/vguijstpnlix/public_html/wp-includes/class-wpdb.php on line 2425

    The error differs every time. It’s different scripts which I’m guessing means that just happens to be the script running when the memory ran out. The only changes to our site recently was the creation of a custom 404 page in Divi, which I then deleted thinking it may have caused the issue. And we installed WP File Manager plugin which we have since deleted in case it was the culprit. No change in the errors.

    We currently have w3TC running with Database caching off. Any help would be appreciated. Thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @linkedmedia

    Thank you for reaching out and I am happy to help!
    It seems like the max memory limit is set to 256 MB and it’s currently not enough for your setup. I would suggest in this case to increase the memory limit to 512MB and you can check how to do this in this article under the MAX MEMORY section of the article.
    Please let me know if this helps!

    Thanks!

    Thread Starter linkedmedia

    (@linkedmedia)

    That’s one of the first things I did. It hasn’t helped unfortunately.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @linkedmedia

    Thank you for your feedback.

    Can you please share if Allowed memory size is changed now and can you please share the error?
    Also, please let me know which caching method you are using for DB Caching?

    Thanks!

    Thread Starter linkedmedia

    (@linkedmedia)

    Hi Marko, It looks like the htaccess file and the wp-config file increased the MAX memory but not the allowed memory. I’ve gone in and fixed that and the issues seems to have cleared up. Thanks for the help!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @linkedmedia

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

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