Support » Plugin: BackWPup - WordPress Backup Plugin » Memory size issue

  • Resolved petitemelanie

    (@petitemelanie)


    Hello!

    I’m trying to back up my WordPress blog and I always get this error message. Please help out a beginner, I really don’t know much about this stuff.

    [02-Jan-2019 12:31:42] Database backup done!
    [02-Jan-2019 12:31:43] 1. Trying to make a list of folders to back up …
    [02-Jan-2019 12:31:49] Added "wp-config.php" to backup file list
    [02-Jan-2019 12:31:49] 1333 folders to backup.
    [02-Jan-2019 12:31:49] 1. Trying to generate a manifest file …
    [02-Jan-2019 12:31:49] Added manifest.json file with 4,73 KB to backup file list.
    [02-Jan-2019 12:31:49] 1. Trying to create backup archive …
    [02-Jan-2019 12:31:49] Compressing files as ZipArchive. Please be patient, this may take a moment.
    [02-Jan-2019 13:06:02] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [02-Jan-2019 13:06:02] 2. Trying to create backup archive …
    [02-Jan-2019 13:14:29] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [02-Jan-2019 13:14:30] 3. Trying to create backup archive …
    [02-Jan-2019 13:22:47] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [02-Jan-2019 13:22:47] ERROR: Step aborted: too many attempts!
    [02-Jan-2019 13:22:47] 1. Try to send backup with email …
    [02-Jan-2019 13:22:47] Sending email to …
    [02-Jan-2019 13:23:27] ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 225456436 bytes)
    [02-Jan-2019 13:23:28] 2. Try to send backup with email …
    [02-Jan-2019 13:23:28] Sending email to …
    [02-Jan-2019 13:23:32] ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 225456436 bytes)
    [02-Jan-2019 13:23:33] 3. Try to send backup with email …
    [02-Jan-2019 13:23:33] Sending email to …
    [02-Jan-2019 13:23:37] ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 225456436 bytes)
    [02-Jan-2019 13:23:39] ERROR: Step aborted: too many attempts!
    [02-Jan-2019 13:23:39] ERROR: Job has ended with errors in 3125 seconds. You must resolve the errors for correct execution.

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support duongcuong96

    (@duongcuong96)

    Hi @petitemelanie,
    please go to BackWPup > Settings > Jobs, set Maximum Script Execution Time to 20 secs.
    Also, please note that you can’t send a file larger than 25mb via email because of it not allowed by email providers, so I would suggest backup to Dropbox, Amazon AWS or your local site instead 🙂

    Hello. Still not working.
    I put it at 20 secs. I also tried 22 and 25, not working either.
    I also did back up to DropBox, that didn’t change anything either.
    What next?

    [03-Jan-2019 10:33:39] 1. Try to backup database …
    [03-Jan-2019 10:33:39] Connected to database ... on localhost
    [03-Jan-2019 10:33:47] Added database dump "..." with 6,82 MB to backup file list
    [03-Jan-2019 10:33:47] Database backup done!
    [03-Jan-2019 10:33:48] 1. Trying to make a list of folders to back up …
    [03-Jan-2019 10:33:53] Added "wp-config.php" to backup file list
    [03-Jan-2019 10:33:53] 1333 folders to backup.
    [03-Jan-2019 10:33:53] 1. Trying to generate a file with installed plugin names …
    [03-Jan-2019 10:33:53] Added plugin list file "....pluginlist.2019-01-03.txt" with 1,48 KB to backup file list.
    [03-Jan-2019 10:33:53] 1. Trying to generate a manifest file …
    [03-Jan-2019 10:33:53] Added manifest.json file with 4,96 KB to backup file list.
    [03-Jan-2019 10:33:53] 1. Trying to create backup archive …
    [03-Jan-2019 10:33:53] Compressing files as ZipArchive. Please be patient, this may take a moment.
    [03-Jan-2019 11:08:49] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [03-Jan-2019 11:08:49] 2. Trying to create backup archive …
    [03-Jan-2019 11:17:24] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [03-Jan-2019 11:17:24] 3. Trying to create backup archive …
    [03-Jan-2019 11:25:41] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [03-Jan-2019 11:25:41] ERROR: Step aborted: too many attempts!
    [03-Jan-2019 11:25:41] 1. Try to send backup file to Dropbox …
    [03-Jan-2019 11:25:42] Authenticated with Dropbox of user: ...
    [03-Jan-2019 11:25:42] Uploading to Dropbox …
    [03-Jan-2019 11:25:42] WARNING: File could not be found.
    [03-Jan-2019 11:25:42] ERROR: Job has ended with errors in 3123 seconds. You must resolve the errors for correct execution.
    Plugin Support duongcuong96

    (@duongcuong96)

    Hi @petitemelanie,
    The issue may happen because the site files( which will be copied and archived to create a backup) in Backwpup temp folder for some reason has been deleted.

    Could you please check if BackWPUp your hoster has add BackWPUp to blacklist?
    Also, could you please list all currently activated plugins to me? a few screenshots of which plugins activated should help me debug the issue!

    Thank you!

    Hi again @duongcuong96,

    my automated biweekly schedule didnt run for a while (at least according to the protocols), so I only realized now that I did not get any more emails about successful and failed runs.

    When manually starting it, some errors happened:

    [INFO] BackWPup 3.6.6; A project of Inpsyde GmbH
    [INFO] WordPress 4.7.11 on https://***.com/
    [INFO] Log Level: Debug 
    [INFO] BackWPup job: Bi-weekly automated backup; DBCHECK+DBDUMP+FILE+WPPLUGIN
    [INFO] Runs with user: (0) 
    [INFO] Cron: 0 3 * * 3; Next: Mi, 5 Dez 2018 @ 03:00 
    [INFO] BackWPup job started manually
    [INFO] PHP ver.: 7.2.11-he.0 (64bit); apache2handler; Linux
    [INFO] Maximum PHP script execution time is 300 seconds
    [INFO] MySQL ver.: 5.6.37-82.2-log
    [INFO] Web Server: Apache
    [INFO] curl ver.: 7.38.0; OpenSSL/1.0.1t
    [INFO] Temp folder is: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/wp-content/uploads/backwpup-027fb9-temp/
    [INFO] Logfile is: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/wp-content/uploads/backwpup-027fb9-logs/backwpup_log_027fb9_2018-12-04_09-51-03.html
    [INFO] Backup file is: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/wp-content/uploads/backwpup-027fb9-backups/backup_backwpup_2018-12-04_09h51m03s_54BH7OME01.zip
    [04-Dec-2018 09:51:03] 1. Try to backup database …
    [04-Dec-2018 09:51:03] Connected to database db12406305-1 on localhost
    [04-Dec-2018 09:51:03] Backup database table "wp_ahm_download_stats" with "472" records
    [04-Dec-2018 09:51:03] Backup database table "wp_ahm_emails" with "0" records
    [04-Dec-2018 09:51:03] Backup database table "wp_bc_ranking" with "0" records
    [04-Dec-2018 09:51:04] Backup database table "wp_commentmeta" with "121" records
    [04-Dec-2018 09:51:04] Backup database table "wp_comments" with "140" records
    [04-Dec-2018 09:51:04] Backup database table "wp_es_deliverreport" with "8" records
    [04-Dec-2018 09:51:04] Backup database table "wp_es_emaillist" with "2" records
    [04-Dec-2018 09:51:04] Backup database table "wp_es_notification" with "1" records
    [04-Dec-2018 09:51:05] Backup database table "wp_es_sentdetails" with "4" records
    [04-Dec-2018 09:51:05] Backup database table "wp_gglcptch_whitelist" with "~0" records
    [04-Dec-2018 09:51:05] Backup database table "wp_layerslider" with "10" records
    [04-Dec-2018 09:51:05] Backup database table "wp_links" with "0" records
    [04-Dec-2018 09:51:05] Backup database table "wp_options" with "772" records
    [04-Dec-2018 09:51:06] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 815104 bytes)
    [04-Dec-2018 09:51:06] Restart after 3 seconds.
    [04-Dec-2018 10:51:37] WARNING: Empty row packet body
    [04-Dec-2018 09:51:37] 2. Try to backup database …
    [04-Dec-2018 09:51:37] Connected to database db12406305-1 on localhost
    [04-Dec-2018 09:51:37] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 1626112 bytes)
    [04-Dec-2018 09:51:37] Restart after 1 seconds.
    [04-Dec-2018 09:52:08] 3. Try to backup database …
    [04-Dec-2018 09:52:09] Connected to database db12406305-1 on localhost
    [04-Dec-2018 09:52:09] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 1626112 bytes)
    [04-Dec-2018 09:52:09] Restart after 1 seconds.
    [04-Dec-2018 09:52:40] ERROR: Step aborted: too many attempts!
    [04-Dec-2018 09:52:40] 1. Trying to make a list of folders to back up …
    [04-Dec-2018 09:52:43] Added "wp-config.php" to backup file list
    [04-Dec-2018 09:52:43] 2732 folders to backup.
    [04-Dec-2018 09:52:43] 1. Trying to generate a file with installed plugin names …
    [04-Dec-2018 09:52:43] Added plugin list file "***.pluginlist.2018-12-04.txt.gz" with 1,34 KB to backup file list.
    [04-Dec-2018 09:52:43] 1. Trying to generate a manifest file …
    [04-Dec-2018 09:52:44] Added manifest.json file with 6,23 KB to backup file list.
    [04-Dec-2018 09:52:44] 1. Trying to create backup archive …
    [04-Dec-2018 09:52:44] Compressing files as ZipArchive. Please be patient, this may take a moment.
    [04-Dec-2018 09:52:44] Adding Extra files to Archive
    [04-Dec-2018 09:52:44] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/
    [04-Dec-2018 09:52:46] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/fonts/
    [04-Dec-2018 09:52:47] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 212992 bytes)
    [04-Dec-2018 09:52:47] Restart after 7 seconds.
    [04-Dec-2018 09:52:49] 2. Trying to create backup archive …
    [04-Dec-2018 09:52:49] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/fonts/
    [04-Dec-2018 09:52:49] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 417792 bytes)
    [04-Dec-2018 09:52:49] Restart after 1 seconds.
    [04-Dec-2018 09:52:50] 3. Trying to create backup archive …
    [04-Dec-2018 09:52:51] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/fonts/
    [04-Dec-2018 09:52:51] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/***/wp-admin/
    [04-Dec-2018 09:52:57] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 36864 bytes)
    [04-Dec-2018 09:52:57] Restart after 8 seconds.
    [04-Dec-2018 09:52:59] ERROR: Step aborted: too many attempts!
    [04-Dec-2018 09:52:59] 2 backup files deleted
    [04-Dec-2018 09:52:59] 1. Trying to check database …
    [04-Dec-2018 09:52:59] Result of table check for wp_ahm_download_stats is: OK
    [04-Dec-2018 09:52:59] Result of table check for wp_ahm_emails is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_bc_ranking is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_commentmeta is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_comments is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_es_deliverreport is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_es_emaillist is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_es_notification is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_es_sentdetails is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_gglcptch_whitelist is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_layerslider is: OK
    [04-Dec-2018 09:53:00] Result of table check for wp_links is: OK
    [04-Dec-2018 09:53:01] Result of table check for wp_options is: OK
    [04-Dec-2018 09:53:01] Result of table check for wp_postmeta is: OK
    [04-Dec-2018 09:53:01] Result of table check for wp_posts is: OK
    [04-Dec-2018 09:53:01] Result of table check for wp_revslider_css is: OK
    [04-Dec-2018 09:53:01] Result of table check for wp_revslider_layer_animations is: OK
    [04-Dec-2018 09:53:01] Result of table check for wp_revslider_navigations is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_revslider_settings is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_revslider_sliders is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_revslider_slides is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_revslider_static_slides is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_snp_stats is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_term_relationships is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_term_taxonomy is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_termmeta is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_terms is: OK
    [04-Dec-2018 09:53:02] Result of table check for wp_usermeta is: OK
    [04-Dec-2018 09:53:03] Result of table check for wp_users is: OK
    [04-Dec-2018 09:53:03] Result of table check for wp_wpbackitup_job_control is: OK
    [04-Dec-2018 09:53:03] Result of table check for wp_wpbackitup_job_items is: OK
    [04-Dec-2018 09:53:03] Result of table check for wp_wpbackitup_job_tasks is: OK
    [04-Dec-2018 09:53:03] Result of table check for wp_wpmm_subscribers is: OK
    [04-Dec-2018 09:53:03] Result of table check for wp_yoast_seo_links is: OK
    [04-Dec-2018 09:53:03] Result of table check for wp_yoast_seo_meta is: OK
    [04-Dec-2018 09:53:03] Database check done!
    [04-Dec-2018 09:53:03] One old log deleted
    [04-Dec-2018 09:53:04] ERROR: Job has ended with errors in 121 seconds. You must resolve the errors for correct execution.

    I disabled wp_options, wp_postmeta and wp_revslider_slides, which all threw errors. Would be nice to have them backed up though.

    Additionally now it throws this:

    [04-Dec-2018 11:10:10] 1. Trying to make a list of folders to back up …
    [04-Dec-2018 11:10:11] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 147456 bytes)
    [04-Dec-2018 11:10:12] Restart after 13 seconds.
    [04-Dec-2018 11:10:13] 2. Trying to make a list of folders to back up …
    [04-Dec-2018 11:10:13] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 286720 bytes)
    [04-Dec-2018 11:10:13] Restart after 1 seconds.
    [04-Dec-2018 11:10:15] 3. Trying to make a list of folders to back up …
    [04-Dec-2018 11:10:15] Added "wp-config.php" to backup file list
    [04-Dec-2018 11:10:15] 1. Trying to generate a file with installed plugin names …

    but that is fine, i guess?

    Any ideas how i can prevent these errors and how i can backup wp_options, wp_postmeta and wp_revslider_slides?

    Thanks a lot in advance!

    Plugin Support duongcuong96

    (@duongcuong96)

    @petitemelanie
    since we haven’t heard back from you, I’m going to mark it as resolved.
    If you’re still having problems, feel free to let us know ;),

    Btw, If you find BackWPUp is useful for you, we would really appreciate if you leave a positive review and rating.
    This would encourage us to develop new free features and provide free support 😀
    https://wordpress.org/support/plugin/backwpup/reviews/

    Plugin Support duongcuong96

    (@duongcuong96)

    @lmuck
    please to go to BackWPUp -> Settings -> Job tab -> Reduce server load and choose medium
    Also, go to BackWPup > Settings > Jobs, set Maximum Script Execution Time setting to about 25 seconds.
    After that, try run the job again.
    Hope that help!

    Hi @duongcuong96
    thanks – Reduce server load was already at max and the Maximum Script Execution Time at 0.

    With the settings as you proposed, the log changes such:

    [28-Feb-2019 16:07:13] Backup database table "wp_posts" with "6646" records
    [28-Feb-2019 16:07:14] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 258048 bytes)
    [28-Feb-2019 16:07:14] Restart after 2 seconds.
    [28-Feb-2019 16:07:15] 2. Try to backup database …
    [28-Feb-2019 16:07:15] Connected to database db12406305-1 on localhost
    [28-Feb-2019 16:07:20] Backup database table "wp_revslider_css" with "136" records
    [28-Feb-2019 16:07:47] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/PROJECT_NAME/fonts/
    [28-Feb-2019 16:07:47] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 184320 bytes)
    [28-Feb-2019 16:07:47] Restart after 2 seconds.
    [28-Feb-2019 16:07:48] 2. Trying to create backup archive …
    [28-Feb-2019 16:07:48] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/PROJECT_NAME/fonts/
    [28-Feb-2019 16:07:48] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 221184 bytes)
    [28-Feb-2019 16:07:48] Restart after 1 seconds.
    [28-Feb-2019 16:07:50] 3. Trying to create backup archive …
    [28-Feb-2019 16:07:50] Archiving Folder: /is/htdocs/wp12406305_K5U4X5H6V9/www/PROJECT_NAME/fonts/
    [28-Feb-2019 16:07:50] ERROR: Allowed memory size of 2097152 bytes exhausted (tried to allocate 425984 bytes)
    [28-Feb-2019 16:07:50] Restart after 1 seconds.
    [28-Feb-2019 16:07:51] ERROR: Step aborted: too many attempts!
    [28-Feb-2019 16:07:51] One backup file deleted
    [28-Feb-2019 16:07:51] 1. Trying to check database …
    [28-Feb-2019 16:07:51] Result of table check for wp_ahm_download_stats is: OK

    Do you have another suggestion?

    • This reply was modified 11 months, 3 weeks ago by lmuck.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Memory size issue’ is closed to new replies.