• I have a fairly standard Oxygen website with WooCommerce (~1000 products). Until the last couple of weeks, it’s been performing fine. Now, when adding new products or updating them, the website hangs for ages, or even times out in some cases, times out.

    I noticed this is the same for standard blog posts, too, so I’m presuming it’s related to anything to do with post updating (wp-admin/post.php). Besides this particular action (adding / modifying posts), the website is still fast / performs well.

    What I’ve tried:

    • Disabling everything but Oxygen (Oxygen replaces the default WordPress theming system) and WooCommerce
    • Optimising the DB via WP Optimize
    • Debugging via Query Monitor (although, If I’m honest, I don’t know what I am looking for here)
    • Upgrading PHP Memory / Execution Time / Post Max size etc
    • Clearing cache / disabling cache

    I’ve cloned the website from the dedicated Netcup RS4000 server it was hosted on, to my RS8000 server – same result.

    I noticed in the debug.log file, the following:

    [09-Dec-2022 12:52:18 UTC] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/runcloud/webapps/my-app/wp-includes/functions.php on line 6927
    [09-Dec-2022 12:52:18 UTC] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 81920 bytes) in /home/runcloud/webapps/my-app/wp-includes/option.php on line 535
    • This topic was modified 1 year, 11 months ago by elaraweb. Reason: improve formatting
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, please update any plugins that you use and the wp core (if every plugin is compatible with a new wordpress version)
    If this does not solve the problem increase the php memory limit.
    Create a file “phpinfo.php” with the content <?php phpinfo(); ?>
    If you search for “php.ini” you can find the path to a php.ini file in which you can increase the php memory limit.
    In the php.ini file search for memory_limit, set that as high as 1 or 2 gb (just try any high enough amount)

    Thread Starter elaraweb

    (@elaraweb)

    Hi,

    Thanks, but I’ve tried these suggestions already.

    What memory limits did you try? Are your plugins and core up to date?

    I’m really impressed that you tried everything possible. Thank you for trying all the solutions for the losing issue.

    The only thing I can recommend is to check with a developer to find the issue. Because it will be hard to guess the real reason behind the issue without taking a look at the whole setup, plugin versions, custom code etc.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Slow To Create / Modify Posts’ is closed to new replies.