WordPress.org

Ready to get started?Download WordPress

Forums

BackWPup Free - WordPress Backup Plugin
[Plugin: BackWPup] Memory Exhausted (8 posts)

  1. alanpae
    Member
    Posted 2 years ago #

    2012/08/05 19:10.13: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2012/08/05 19:10.13: [INFO]: BackWPup job: FILE
    2012/08/05 19:10.13: [INFO]: BackWPup cron:
    2012/08/05 19:10.13: [INFO]: BackWPup job started manualy
    2012/08/05 19:10.13: [INFO]: PHP ver.: cgi-fcgi; Linux
    2012/08/05 19:10.13: [INFO]: MySQL ver.:
    2012/08/05 19:10.13: [INFO]: curl ver.:
    2012/08/05 19:10.13: [INFO]: Temp folder is:
    2012/08/05 19:10.13: [INFO]: Backup file is:
    2012/08/05 19:10.13: 1. try for make list of files to backup....
    2012/08/05 19:10.13: 215 files with 54.26 MB to backup
    2012/08/05 19:10.13: 1. try to create backup zip (PclZip) archive...
    2012/08/05 19:10.20: Backup zip archive create done
    2012/08/05 19:10.20: Archive size is 50.54 MB
    2012/08/05 19:10.20: 1. try to sending backup with mail...
    2012/08/05 19:10.20: Send mail with SMTP
    2012/08/05 19:10.20: Creating mail
    2012/08/05 19:10.20: Adding backup archive to mail
    2012/08/05 19:10.20: Memory increased from 256M to 258M
    2012/08/05 19:10.20: Send mail....
    2012/08/05 19:10.21: [ERROR]Allowed memory size of 270532608 bytes exhausted (tried to allocate 125829120 bytes)
    2012/08/05 19:10.21: 1. Script stop! Will started again now!
    2012/08/05 19:10.21: 2. try to sending backup with mail...
    2012/08/05 19:10.21: Send mail with SMTP
    2012/08/05 19:10.21: Creating mail
    2012/08/05 19:10.21: Adding backup archive to mail
    2012/08/05 19:10.21: Send mail....
    2012/08/05 19:10.22: [ERROR]Allowed memory size of 268435456 bytes exhausted (tried to allocate 125829120 bytes)
    2012/08/05 19:10.22: 2. Script stop! Will started again now!
    2012/08/05 19:10.22: 3. try to sending backup with mail...
    2012/08/05 19:10.22: Send mail with SMTP
    2012/08/05 19:10.22: Creating mail
    2012/08/05 19:10.22: Adding backup archive to mail
    2012/08/05 19:10.22: Send mail....
    2012/08/05 19:10.22: [ERROR]Allowed memory size of 268435456 bytes exhausted (tried to allocate 125829120 bytes)
    2012/08/05 19:10.22: 3. Script stop! Will started again now!
    2012/08/05 19:10.22: [ERROR] Step arborted has too many trys!
    2012/08/05 19:10.22: Job done in 9 sec.

    I just started to get these. I have tried all 3 mail settings and each one comes back with the same error. Is the file just to big?

    Thanks in advance,
    alan

    http://wordpress.org/extend/plugins/backwpup/

  2. mikeotgaar
    Member
    Posted 2 years ago #

    This is an interesting out of memory error. 256MB should be more than adequate for nearly any WordPress site...
    However, the file size is too big for e-mail. Most SMTP services will limit mail to under 10MB (many are even more limited). But why it's showing up as a server "out of memory" error is puzzling.
    I am going to stick my neck out here and say even if you increased php memory limit to 400MB, the mail will still not get sent

  3. alanpae
    Member
    Posted 2 years ago #

    So I just upgraded and am getting the exact same message. The "Jobs" panel only shows the log file. If I look at it through FTP the file was created and I can download it at least :-)

    alan

  4. MarkSchiller
    Member
    Posted 2 years ago #

    Im experiencing the same using the dropbox-option:

    2012/08/22 10:40.27: [INFO]: BackWPup version 2.1.15, WordPress version 3.3.2 Copyright © 2012 Daniel Hüsken
    2012/08/22 10:40.27: [INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
    2012/08/22 10:40.27: [INFO]: BackWPup job: 3. Filer; FILE
    2012/08/22 10:40.27: [INFO]: BackWPup job started manualy
    2012/08/22 10:40.27: [INFO]: PHP ver.: 5.3.14; cgi-fcgi; Linux
    2012/08/22 10:40.27: [INFO]: MySQL ver.: 5.1.63-0+squeeze1
    2012/08/22 10:40.27: [INFO]: curl ver.: 7.21.0; OpenSSL/0.9.8o
    2012/08/22 10:40.27: [INFO]: Temp folder is:
    2012/08/22 10:40.27: [INFO]: Backup file is:
    2012/08/22 10:40.27: 1. try for make list of files to backup....
    2012/08/22 10:40.45: 7502 files with 97.8 MB to backup
    2012/08/22 10:40.45: 1. try to create backup zip (PclZip) archive...
    2012/08/22 10:41.14: [ERROR]Allowed memory size of 83886080 bytes exhausted (tried to allocate 131072 bytes)
    2012/08/22 10:41.14: 1. Script stop! Will started again now!
    2012/08/22 10:41.14: 2. try to create backup zip (PclZip) archive...
    2012/08/22 10:41.39: [ERROR]Allowed memory size of 83886080 bytes exhausted (tried to allocate 131072 bytes)
    2012/08/22 10:41.39: 2. Script stop! Will started again now!
    2012/08/22 10:41.39: 3. try to create backup zip (PclZip) archive...
    2012/08/22 10:41.39: [ERROR]Allowed memory size of 83886080 bytes exhausted (tried to allocate 131072 bytes)
    2012/08/22 10:41.39: 2. Script stop! Will started again now!
    2012/08/22 10:41.39: 3. try to create backup zip (PclZip) archive...
    2012/08/22 10:42.08: [ERROR]Allowed memory size of 83886080 bytes exhausted (tried to allocate 131072 bytes)
    2012/08/22 10:42.08: 3. Script stop! Will started again now!
    2012/08/22 10:42.08: [ERROR] Step arborted has too many trys!
    2012/08/22 10:42.09: 1. Try to sending backup file to DropBox...
    2012/08/22 10:42.10: Authed with DropBox from Mark Schiller
    2012/08/22 10:42.10: 1.54 GB free on DropBox
    2012/08/22 10:42.10: Upload to DropBox now started...
    2012/08/22 10:42.45: Backup transferred to https:
    2012/08/22 10:42.45: Job done in 138 sec.

    SQL-backup works like a charm - but filebackup gives the error above .......

    Any help would be highly appreciated :-)

    TIA

    /Mark

  5. mrunal_patel
    Member
    Posted 2 years ago #

    [ERROR]Allowed memory size of 270532608 bytes exhausted (tried to allocate 125829120 bytes)

    I had similar problem and here is how I fixed it.
    First I thought, something was wrong with the backup-plugin so i tested other backup plugins but same php out of memory error. For example

    "Database error MySQL server has gone away for query"

    or

    "Cannot allocate sufficient memory"

    So I thought something wrong with php memory. Then some articles suggested to edit wordpress's .db files or some other files in cpanel, to increase memory or time limit, but those tricks didnot work out.

    Finally I came to know that one of the possible reason for memory error is, your mySQL file is too big (something like more than 200MB) That's why memory runs out while doing things like backup. The culprits are following plugins-

    You may be using one or both of following plugins
    1. Better WordPress security
    2. Akismet spam remover

    both of them create 'logfiles' in your MYSQL file and over the time, because of them, the SQL file becomes very huge.
    So, you've to goto phpmyadmin >> empty the tables that contain those logfiles.
    Then try to take backup again and it'll run smoothly.

    In my case, Better WordPress Security alone had huge logfile of 480MB inside mysql. When I emptied the "wp_bwps_log", the size of mysql file was reduced to barely 47MB (for 700 posts and 3000 comments on my site.)
    And then I tried to take backup using "BackWPup" plugin and it worked smoothly without any problem.

  6. alanpae
    Member
    Posted 2 years ago #

    That's nice.

    But the two example listed above are FILE only backups.

    alan

  7. Daniel Hsken
    Member
    Plugin Author

    Posted 2 years ago #

    @alanpae: backups sending by mal neds many php memory. i think i have found a solution but that will come with version 3.

    @MarkSchiller: please try to use a tar archive it not need so many memory on creation time.

  8. 14nc310t
    Member
    Posted 1 year ago #

    The same error happens to me with a db and table backup on local filesystem.

    I've tryed to use tar.gz archive instead of zip and the error disappear but...another strange thing:

    in the backup window appear the backup file (with correct size) and also an index.php file.

    Trying to download the backup file, the file is 0 byte (corrupted)

    AnY idea?

    TIA

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic