Spapshot crashed my site!

Hello!

I was trying to run a Snapshot backup.

First it encountered an error.

I tried it a second time and it would not finish the backup.

Then I logged out of my WordPress and now when I go to the wp-admin
I only get this message that is attached.

I think the second time I didn't abort the backup
before logging out of WordPress.

Please help me.

I don't have any clue what to do or what happened.

  • Luís

    Hi Tuomo ,

    Hope you're doing well today!

    500 error is a generic error, so, we will need to investigate further to check what is provoking it. Are you using the new "Managed backups" (Snapshot ->Managed backups) that saves the file in our cloud or the old backup options (Snapshot -> Add new)?

    The most common issues are related to a lack of memory, so, you can try increase the "memory_limit" variable. There are some methods to do this, so, I think this article may help you:

    https://premium.wpmudev.org/blog/increase-memory-limit/

    If this don't solve your issue can you enable the debug flags in your wp-config.php to see if any related error was saved?

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    It will be saved to a debug.log file inside the "wp-content" folder. Can you share it with us?

    https://codex.wordpress.org/Debugging_in_WordPress

    Note: Save the file as a .txt, because the .log extension is not allowed in the attachments.

    If you have any doubt/difficulty in doing this process, can you send us the FTP details of your website, so we can make some debug? If yes, please send it privately through our contact form:

    https://premium.wpmudev.org/contact/#i-have-a-different-question

    Send in:

    Subject: "Attn: Luis Lopes"
    - WordPress admin username
    - WordPress admin password
    - Login url
    - FTP credentials (host/username/password)
    - Link back to this thread for reference
    - Any other relevant urls/information

    Cheers, Luís

    • Tuomo

      Hello Luis,

      Thank you for the support.

      I went to try one more time to sign in to the WordPress.

      Now it actually lets me sign in but it works super slow.

      I think the problem might actually be because of the memory
      just like you hinted.

      You can find attached a screenshot of my cPanel.

      It shows huge memory usage.

      Disk Space Usage (4.24GB / 4.88 GB) is normal.
      I realise it is too full but it was already before using the Snapshot.

      But the other stats:
      CPU Usage 15/100%

      Virtual Memorey Usage
      381.3 / 1024MB

      And especially Physical Memory Usage
      633.2 / 1024MB

      and
      I/O Usage
      844 / 1024 KB/s

      I assume if the I/O Usage goes too high
      it crashed the whole site and thus causing
      the issue I stated when opening this post?

      Any hint Why did the Snapshot cause this kind
      of memory usage issue?

      I would like to go "back to normal"
      and recover the memory and get the site working fast again.

      After that I could try the backup with Snapshot again.

      Thank you

  • Luís

    Hi Tuomo ,

    Hope you're doing well today!

    Just having Snapshot enabled in your website (without any backup process running) I think it doesn't explain the memory consumption you mentioned.

    However, when you run a backup, by the nature of the process, it will require an additional memory (the process is reading all the database tables and files (depending on the options chosen) and creating a backup file).

    I checked the website you associated with this topic and you are using a good amount of plugins and using just "256mb" of memory allowed to WordPress.

    In my opinion, I think this is a low value and would like to suggest to increase it to "1024mb" (it should be enough).

    However, this is just an assumption based on your setup, we need to investigate further to get better informations. Have you enabled the debug flags as I mentioned in my previous reply to see if which errors were saved?

    Cheers, Luís