• I am getting an error on a multisite environment that I have not had issues with on another multisite on the same server. When I try to delete a sub-site on the multisite, I get the usual confirmation screen, then I click confirm only to get a white screen (when memory allocated was 128M) or a time out 500 error screen on higher memory allocations.

    I have increased the the allocated memory available up to 1024MB, and the delete blog procedure is still timing out. There were only 10 subsites on this multisite site at the highest count.

    I have deactivated all the plugins as well and still getting the error.
    Using WordPress 5.8.1, Server architecture Linux 3.10.0 x86_64, Web server Apache, PHP version 7.4.23, mysqli 5.5.68-MariaDB
    The server has 2GB available for allocation.

    I have done a search to see if anyone else has this issue and I only find reference to delete_blog WP function is deprecated since 5.0.1. If this is the case, it should not be happening in 5.8.1.

    Currently not seeing any configuration details between the two multisites on the same server but it is possible I am missing something.

    My next step is to upgrade to PHP 8, but then why would the other multisite on the same server running the PHP7 not have the same issue?

    Any thoughts on the matter appreciated.

    This is the Error message I am getting:

    AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 2097160 bytes) in /var/www/vhosts/xxxxxxxxxxx.com/httpsdocs/wp-includes/functions.php on line 6774PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 114688 bytes) in /var/www/vhosts/xxxxxxxxxxxx.com/httpsdocs/wp-includes/functions.php on line 6807', referer: https://xxxxxxxxxxxx.site/wp-admin/network/sites.php?action=confirm&action2=deleteblog&id=34&_wpnonce=90189673ab

Viewing 3 replies - 1 through 3 (of 3 total)
  • >>I have increased the the allocated memory available up to 1024MB, and the delete blog procedure is still timing out<<

    @johnamp I think there is a memory leak here. It could be a faulty plugin. Use this: https://xdebug.org/ to figure out the offending code.

    You can alternatively try and contact your host regarding this.

    More on this: https://www.ostraining.com/blog/wordpress/wordpress-fatal-error-allowed-memory-size/

    Let me know how it goes ??

    WordPress is an easy-to-use and flexible content management platform. Similar to any software, though, it can cause problems and difficulties for its admins now and again by generating errors. For non-tech-savvy users, this can be a big deal. More often than not, they can’t identify the cause of the issue themselves, let alone fix it. In this post, we talk about one such problem — the memory exhausted error. You will learn why it occurs and how to increase WordPress memory limit to get your site back on track.

    Are you seeing an allowed memory size exhausted error in WordPress? This is one of the most common WordPress errors, and you can easily fix it by increasing the php memory limit in WordPress. In this article, we will show you how to fix WordPress memory exhausted error by increasing PHP memory. Prepaid Card Status

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Memory exhausted while trying to delete site on multisite’ is closed to new replies.