Support » Plugin: BackWPup - WordPress Backup Plugin » PHP Fatal error: Allowed memory size exhausted

  • Hello Support,

    first: thank you very much for this great plugin!

    After upgrading PHP from 7.2 to 7.3 I have the following error which is very important to fix for me.

    Is this something I can configure or maybe some incompatibility?

    [INFO] BackWPup 3.6.8; A project of Inpsyde GmbH
    [INFO] WordPress 5.1.1 on http://www.videospielgeschichten.de/
    [INFO] Log Level: Debug
    [INFO] BackWPup job: Daily; DBDUMP
    [INFO] Runs with user: (0)
    [INFO] Cron: 0 3 * * *; Next: Sa, 4 Mai 2019 @ 03:00
    [INFO] BackWPup job started from wp-cron
    [INFO] PHP ver.: 7.3.4 (64bit); cgi-fcgi; Linux
    [INFO] Maximum PHP script execution time is 50000 seconds
    [INFO] Script restart time is configured to 30 seconds
    [INFO] MySQL ver.: 5.5.60-0+deb7u1-log
    [INFO] Web Server: Apache
    [INFO] curl ver.: 7.38.0; OpenSSL/1.0.1t
    [INFO] Temp folder is: /homepages/0/d25282240/htdocs/vsg_prod/wp-content/uploads/backwpup-f788fd-temp/
    [INFO] Logfile is: /homepages/0/d25282240/htdocs/vsg_prod/wp-content/uploads/backwpup-f788fd-logs/backwpup_log_f788fd_2019-05-03_03-00-03.html
    [INFO] Backup file is: /homepages/0/d25282240/htdocs/vsg_prod/wp-content/uploads/backwpup-f788fd-temp/backwpup_6D3YR7MU01_daily_2019-05-03_03-00-03.zip
    [03-May-2019 03:00:03] 1. Try to backup database …
    [03-May-2019 03:00:03] Connected to database db769213813 on db769213813.hosting-data.io
    [03-May-2019 03:00:03] Backup database table “wp_avatar_privacy” with “24” records
    [03-May-2019 03:00:03] Backup database table “wp_commentmeta” with “614” records
    [03-May-2019 03:00:03] Backup database table “wp_comments” with “1689” records
    [03-May-2019 03:00:03] Backup database table “wp_links” with “0” records
    [03-May-2019 03:00:03] Backup database table “wp_newsletter” with “0” records
    [03-May-2019 03:00:03] Backup database table “wp_newsletter_emails” with “0” records
    [03-May-2019 03:00:03] Backup database table “wp_newsletter_sent” with “0” records
    [03-May-2019 03:00:03] Backup database table “wp_newsletter_stats” with “0” records
    [03-May-2019 03:00:03] Backup database table “wp_newsletter_user_logs” with “0” records
    [03-May-2019 03:00:03] Backup database table “wp_options” with “1162” records
    [03-May-2019 03:00:03] Backup database table “wp_postmeta” with “33888” records
    [03-May-2019 03:00:03] Backup database table “wp_posts” with “3244” records
    [03-May-2019 01:00:04 UTC] PHP Fatal error: Allowed memory size of 65011712 bytes exhausted (tried to allocate 81920 bytes) in /homepages/0/d25282240/htdocs/vsg_prod/wp-content/plugins/backwpup/inc/class-mysqldump.php on line 533 [03-May-2019 03:00:04] ERROR: Allowed memory size of 65011712 bytes exhausted (tried to allocate 81920 bytes)
    [03-May-2019 03:00:04] Restart after 1 seconds.
    [03-May-2019 03:00:05] 2. Try to backup database …
    [03-May-2019 03:00:05] Connected to database db769213813 on db769213813.hosting-data.io
    [03-May-2019 01:00:05 UTC] PHP Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 90112 bytes) in /homepages/0/d25282240/htdocs/vsg_prod/wp-content/plugins/backwpup/inc/class-mysqldump.php on line 525 [03-May-2019 03:00:05] ERROR: Allowed memory size of 62914560 bytes exhausted (tried to allocate 90112 bytes)
    [03-May-2019 03:00:05] Restart after 1 seconds.
    [03-May-2019 03:00:06] 3. Try to backup database …
    [03-May-2019 03:00:06] Connected to database XXX on XXX
    [03-May-2019 01:00:07 UTC] PHP Fatal error: Allowed memory size of 60817408 bytes exhausted (tried to allocate 77824 bytes) in /homepages/0/d25282240/htdocs/vsg_prod/wp-content/plugins/backwpup/inc/class-mysqldump.php on line 525 [03-May-2019 03:00:07] ERROR: Allowed memory size of 60817408 bytes exhausted (tried to allocate 77824 bytes)
    [03-May-2019 03:00:07] Restart after 1 seconds.
    [03-May-2019 03:00:08] ERROR: Step aborted: too many attempts!
    [03-May-2019 03:00:08] 1. Trying to generate a manifest file …
    [03-May-2019 03:00:08] Added manifest.json file with 8,09 KB to backup file list.
    [03-May-2019 03:00:08] 1. Trying to create backup archive …
    [03-May-2019 03:00:08] Compressing files as ZipArchive. Please be patient, this may take a moment.
    [03-May-2019 03:00:08] Adding Extra files to Archive
    [03-May-2019 03:00:08] Backup archive created.
    [03-May-2019 03:00:08] Archive size is 2,37 KB.
    [03-May-2019 03:00:08] 2 Files with 8,31 KB in Archive.
    [03-May-2019 03:00:08] 1. Try to send backup file to Dropbox …
    [03-May-2019 03:00:08] Call to users/get_current_account
    [03-May-2019 03:00:09] Authenticated with Dropbox of user: XXX (XXX)
    [03-May-2019 03:00:09] Call to users/get_space_usage
    [03-May-2019 03:00:09] 1.017,80 GB available on your Dropbox
    [03-May-2019 03:00:09] Uploading to Dropbox …
    [03-May-2019 03:00:09] Call to files/upload, with 2 KB of data, with parameters: {“path”:”\/Videospielgeschichten\/backwpup_6D3YR7MU01_daily_2019-05-03_03-00-03.zip”,”mode”:”overwrite”}
    [03-May-2019 03:00:10] Backup transferred to /Videospielgeschichten/backwpup_6D3YR7MU01_daily_2019-05-03_03-00-03.zip
    [03-May-2019 03:00:10] Call to files/list_folder, with parameters: {“path”:”\/Videospielgeschichten\/”}
    [03-May-2019 03:00:10] Call to files/delete, with parameters: {“path”:”\/Videospielgeschichten\/backwpup_ET3YR7OP01_daily_2019-04-27_03-00-01.zip”}
    [03-May-2019 03:00:11] One file deleted from Dropbox
    [03-May-2019 03:00:11] One old log deleted
    [03-May-2019 03:00:11] ERROR: Job has ended with errors in 8 seconds. You must resolve the errors for correct execution.

    Thank you in advance

    André

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

    (@duongcuong96)

    Hi @newslicer
    Could you please try increase memory limit then try again?
    You can follow the guide in Woocommerce documentation site here on how to do that:
    https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/
    Hope that helps 😀

    Thanks a lot for you reply!

    I already configured my wp-config.php file.

    /** Increase PHP memory limit */
    define('WP_MEMORY_LIMIT', '512M');

    But it doesn’t help 🙁

    Plugin Support duongcuong96

    (@duongcuong96)

    hmm,

    Can you give me the server info in BackwPUp -> Setting -> Info?

    • This reply was modified 2 months, 2 weeks ago by  duongcuong96.

    Sure.

    WordPress-Version: 5.2
    BackWPup-Version: 3.6.9
    PHP-Version: 7.3.4  (64bit)
    MySQL-Version: 5.5.60-0+deb7u1-log
    cURL-Version: 7.38.0
    cURL-SSL-Version: OpenSSL/1.0.1t
    WP-Cron-URL:: https://www.videospielgeschichten.de/wp-cron.php
    Verbindung zum Server selbst:: Response-Test OK
    Document root: /kunden/homepages/0/xxx/htdocs/vsg_prod
    Temp-Verzeichnis:: /homepages/0/xxx/htdocs/vsg_prod/wp-content/uploads/backwpup-f788fd-temp/
    Protokoll-Verzeichnis:: /homepages/0/xxx/htdocs/vsg_prod/wp-content/uploads/backwpup-f788fd-logs/
    Server: Apache
    Betriebssystem: Linux
    PHP-SAPI: cgi-fcgi
    Aktueller PHP-User: xxx
    Maximale Skript-Laufzeit: 50000 Sekunden
    BackWPup Maximale Script-Ausführungszeit: 30 Sekunden
    Alternative WP Cron: Aus
    WP Cron abgeschaltet: Aus
    Verzeichnis-Rechte: 0755
    Server-Zeit: 18:46
    Zeit der Website: 20:46
    Zeitzone der Website: Europe/Berlin
    Zeitverschiebung der Website: 2 Stunden
    Sprache der Website: de-DE
    Zeichensatz des MySQL-Clients: utf8mb4
    PHP-Memory-Limit: -1
    WordPress-Memory-Limit: 512M
    Maximales WordPress-Memory-Limit: -1
    Benutzter Speicher: 56,50 MB
    Geladene PHP-Erweiterungen:: Core, PDO, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, posix, session, shmop, soap, sodium, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.