Problems with backup: Fork failed – Cannot allocate memory
-
======================================================
What happened:
======================================================I’ve encountered an error during my backup:
——————————————————
BackUpWordPress detected issues with your last backup
——————————————————
php: proc_open() [function.proc-open]: fork failed – Cannot allocate memory, /home/use-id/usability.space/docs/wp-content/plugins/backupwordpress/vendor/symfony/process/Process.php, 290
——————————————————I received this ^ error after started my backup of database and files manually.
======================================================
What I’ve tied to solve my problem:
======================================================(1) I’ve tried to increase memory limits in wp-includes/default-constants.php as follows:
// set memory limits
if ( !defined(‘WP_MEMORY_LIMIT’) ) {
if( is_multisite() ) {
define(‘WP_MEMORY_LIMIT’, ‘256M’);
} else {
define(‘WP_MEMORY_LIMIT’, ‘256M’);
}
}if ( ! defined( ‘WP_MAX_MEMORY_LIMIT’ ) ) {
define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
}(2) I’ve tried to set my hosting MEMORY_LIMIT value to unlimited.
(3) As it is suggested here https://www.ads-software.com/support/topic/backup-error-9/ , I’ve tied to switch to a different zip engine in wp-config:
define(‘UPDRAFTPLUS_NO_BINZIP’, true);
——————————————————
The result of all my tries:
——————————————————Nothing has helped, and after the backup Backupwordpress still tells me about the above mentioned error.
======================================================
My question:
======================================================What has gone wrong?
How can I cure the error?
Will the error allow me to make successful backups with WordPressbackup?
======================================================
- The topic ‘Problems with backup: Fork failed – Cannot allocate memory’ is closed to new replies.