High Usage on Server Due to Snapshot

Hi there,
I just got an email from my host (I'm on a shared server) saying that I had exceeded the allowed resources for my account! :open_mouth: This has never happened to me before! Here's what they said:

During a recent audit of your server we discovered that your account has violated our Resource Abuse Policy by consuming too many server resources.

2016-11-11
Account: seventh Domain: seventh-star.net CPU: 42.55 Mem: 1.52 MySQL: 0.9
%CPU 89.3 - /usr/bin/php53 /home/*****/public_html/wp-admin/admin-ajax.php
%CPU 87.5 - /usr/bin/php53 /home/*****/public_html/wp-admin/admin-ajax.php
%CPU 85.2 - /usr/bin/php53 /home/*****/public_html/wp-admin/admin-ajax.php

66.7.204.84 - - [11/Nov/2016:12:23:29 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:24:11 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:25:30 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:25:58 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:27:03 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:27:53 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:28:44 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:29:47 -0500] "POST /wp-cron.php?doing_wp_cron=1478885387.4158248901367187500000 HTTP/1.1" 200 - "http://meredithsweet.com/wp-cron.php?doing_wp_cron=1478885387.4158248901367187500000" "WordPress/4.6.1; http://meredithsweet.com"
66.7.204.84 - - [11/Nov/2016:12:30:00 -0500] "POST /wp-cron.php?doing_wp_cron=1478885400.0203499794006347656250 HTTP/1.1" 200 - "http://meredithsweet.com/wp-cron.php?doing_wp_cron=1478885400.0203499794006347656250" "WordPress/4.6.1; http://meredithsweet.com"
66.249.64.115 - - [11/Nov/2016:12:29:58 -0500] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 27 "http://meredithsweet.com/yop-poll-archive/" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.7.204.84 - - [11/Nov/2016:12:29:40 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:30:56 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:32:18 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:33:51 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:34:59 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:36:24 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:37:24 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:38:55 -0500] "POST /wp-cron.php?doing_wp_cron=1478885935.8628289699554443359375 HTTP/1.1" 200 - "http://seventh-star.net/wp-cron.php?doing_wp_cron=1478885935.8628289699554443359375" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:38:51 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:39:44 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:40:43 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:42:06 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:42:59 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:44:51 -0500] "POST /wp-cron.php?doing_wp_cron=1478886291.8722980022430419921875 HTTP/1.1" 200 - "http://seventh-star.net/wp-cron.php?doing_wp_cron=1478886291.8722980022430419921875" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:43:51 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:45:01 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:45:44 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:46:37 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:47:36 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:48:29 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:49:31 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:50:34 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:51:35 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:52:34 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"
66.7.204.84 - - [11/Nov/2016:12:53:51 -0500] "POST /wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1 HTTP/1.1" 200 - "http://seventh-star.net/wp-admin/admin-ajax.php?action=snapshot-full_backup-respawn_cron&doing_wp_cron=1" "WordPress/4.6.1; http://seventh-star.net"

We have disabled the ./wp-admin/admin-ajax.php file in order to stabilize the server.
###############################
AVERAGE SERVER RESOURCE LIMITS
Memory usage may not exceed 10% per domain/file/application
CPU usage may not exceed 20% per domain/file/application
Apache connections may not exceed 30 connections
15 MySQL maximum user connections allowed
350 emails per hour, per domain
###############################

I previously saw some other threads similar to this, but they indicated an update to Snapshot Pro should resolve the issue, and mine is up to date... what should I do?

Things I'm trying (but I don't know if they'll help):
1. Changing backup interval to monthly (I don't update that frequently, but I do have ~20 sites)
2. Reduce the number of local backups that are saved (I currently have it set to 3)

  • James Morris

    Hello Azurite,

    I hope you are well today.

    Unfortunately, it looks like your shared host has very strict usage allowances. There's a couple directives you can add to your wp-config.php that should reduce the resource usage of Snapshot some. However, by the very nature of software based backups, they are resource intensive. These tricks may get the load down some, but may not be quite enough to satisfy your hosts restrictions.

    In wp-config.php, add the following lines:

    // Reduce Snapshot Table Query Chunks
    define('SNAPSHOT_TABLESET_CHUNK_SIZE', 100);
    
    // Reduce Snapshot File Chunks
    define('SNAPSHOT_FILESET_CHUNK_SIZE', 50);

    The above will reduce the chunk size of the file and database operations, thus reducing RAM consumption, but because the chunks are smaller, backups will take longer to run. You can increment those values even lower if you still run into problems, but if you drop them as low as 10 and you're still having problems, then a software/plugin backup solution may not work with your host.

    Let us know if this resolves your issue for you.

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.