Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter shibmz

    (@shibmz)

    Thanks, Brandon (?).

    Please note that my latest failed attempt (for which I posted the log above) included only *.txt files and no database tables, so many of your suggestions wouldn’t apply. I’m wondering whether there’s even a point in trying to reduce the compression level in this case. However, I decided to check how many *.txt files there were (224) and how big they were (max ~150 kb). In the process, I noticed a recursive symbolic link I’d set up as a temporary workaround after moving the website from a subdir up to the root. I suspect that may have something to do with this issue, if your file-scanning code is liable to get into an endless loop.

    Detail: the website used to be a in a subfolder called wordpress, and since I moved it up and several references broke, I’d created a symlink wordpress -> . in the root folder. I’d already resolved the broken links, but had forgotten to remove the symlink.

    Update: the sanity backup test (after removal of that recursive symlink) succeeded – hooray! I then tried a full backup, which almost worked:

    ...
    [2024-01-18 22:17:34 UTC] Chunk closed in 6.9668281078339 seconds. 64% complete closing
    [2024-01-18 22:17:34 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56722552 (54.09 MB) / 62494256 (60 MB)
    [2024-01-18 22:17:38 UTC] Chunk closed in 3.4804148674011 seconds. 68% complete closing
    [2024-01-18 22:17:38 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56722552 (54.09 MB) / 62494256 (60 MB)
    [2024-01-18 22:17:43 UTC] Chunk closed in 4.7579138278961 seconds. 73% complete closing
    [2024-01-18 22:17:43 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56722552 (54.09 MB) / 62494256 (60 MB)
    [2024-01-18 22:17:46 UTC] Chunk closed in 3.314975976944 seconds. 77% complete closing
    [2024-01-18 22:17:46 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56722552 (54.09 MB) / 62494256 (60 MB)
    [2024-01-18 22:17:50 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:17:57 UTC] Chunk closed in 11.547420978546 seconds. 82% complete closing
    [2024-01-18 22:17:57 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56722552 (54.09 MB) / 62494256 (60 MB)
    [2024-01-18 22:18:04 UTC] Chunk closed in 6.1026511192322 seconds. 86% complete closing
    [2024-01-18 22:18:04 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56722552 (54.09 MB) / 62494256 (60 MB)
    [2024-01-18 22:18:17 UTC] Chunk closed in 13.701091051102 seconds. 91% complete closing
    [2024-01-18 22:18:17 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56722552 (54.09 MB) / 62494256 (60 MB)
    [2024-01-18 22:19:50 UTC] Backup process running: No

    I tried reducing the compression level from 6 to 3, and oddly that failed even earlier in the process:

    ...
    [2024-01-18 22:35:11 UTC] Chunk closed in 13.794708967209 seconds. 41% complete closing
    [2024-01-18 22:35:11 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 57463336 (54.80 MB) / 69102560 (66 MB)
    [2024-01-18 22:35:17 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:35:22 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:35:29 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:35:35 UTC] Chunk closed in 23.801074981689 seconds. 45% complete closing
    [2024-01-18 22:35:35 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 57463336 (54.80 MB) / 69102560 (66 MB)
    [2024-01-18 22:36:11 UTC] Backup process running: No

    I tried again with a compression ratio of 0, and that succeeded!

    ...
    [2024-01-18 22:43:36 UTC] Chunk closed in 7.8543620109558 seconds. 95% complete closing
    [2024-01-18 22:43:36 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56417824 (53.80 MB) / 62189592 (59 MB)
    [2024-01-18 22:43:38 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:43:43 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:43:46 UTC] Chunk closed in 10.665627002716 seconds. 100% complete closing
    [2024-01-18 22:43:46 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 56417824 (53.80 MB) / 62189592 (59 MB)
    [2024-01-18 22:43:47 UTC] Finished closing the zip file.
    [2024-01-18 22:43:47 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 55669656 (53.09 MB) / 62189592 (59 MB)
    [2024-01-18 22:43:47 UTC] Starting to add db dump to the zip file.
    [2024-01-18 22:43:47 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 55669656 (53.09 MB) / 62189592 (59 MB)
    [2024-01-18 22:43:47 UTC] Finished adding db dump to the zip file.
    [2024-01-18 22:43:47 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 55669712 (53.09 MB) / 62189592 (59 MB)
    [2024-01-18 22:43:47 UTC] Archiving of files complete!
    [2024-01-18 22:43:47 UTC] Archive filepath / size: /home/.../boldgrid_backup/boldgrid-backup-www.site.com-xyz.zip / 671473617 (640.37 MB)
    [2024-01-18 22:43:47 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 55669656 (53.09 MB) / 62189592 (59 MB)
    [2024-01-18 22:43:47 UTC] Starting sending of email...
    [2024-01-18 22:43:48 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:43:49 UTC] Sending of email complete! Status: 1
    [2024-01-18 22:43:53 UTC] Backup process running: Yes (pgid = 447141)
    [2024-01-18 22:43:56 UTC] Backup complete!
    [2024-01-18 22:43:56 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 55834336 (53.25 MB) / 84064256 (80 MB)
    [2024-01-18 22:43:56 UTC] Backup complete!
    [2024-01-18 22:43:56 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 40678336 (38.79 MB) / 84064256 (80 MB)

    For completeness’ sake, I also tried level 2 and level 1 (level 2 failed relatively quickly, and level 1 got to 91% and has been stuck there for almost an hour, so I’m assuming it will time out and announce failure eventually).

    Thanks again for your suggestion to try adjusting the compression level, which turned out to helpful indeed!

    I do think you should check your plugin’s code for how it handles recursive symlinks, and adjust it to avoid falling into infinite loops when they exist.

    Thread Starter shibmz

    (@shibmz)

    I must have forgotten that I changed the default message when I first set up the form (introducing that typo in the process), which explains why I couldn’t find the exact text I was seeing anywhere in the plugin code. While I was searching for how to do this, I forgot to look “below the fold” and I also didn’t think of creating another form to confirm the problem, which would probably have pointed me in the right direction. The perils of working late at night…

    Thanks for your quick reply,
    Shi.

Viewing 2 replies - 1 through 2 (of 2 total)