<p>Over the past month or so we have been getting a daily CPU spike which is killing our Craft 3.7.59 site. It happens between 9pm and 10pm GMT each night and doesn't seem linked to any increase in traffic.</p>
<p>The site is hosted on Digital Ocean and we have moved to a new Droplet, restarted everything &amp; redeployed everything. We have a daemon to run the queue but it doesn't look like this is busier than usual at this time.</p>
<p><a href="https://i.sstatic.net/t0dzp.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/t0dzp.png" alt="enter image description here" /></a></p>
<p>Has anyone experienced anything similar? Could Craft be running a daily process around this time which is using up the server resources?</p>
<p>Many thanks,
Malcolm</p>

CC BY-SA 4.0
2023-02-23T13:52:40.153Z
Are you running any cron jobs at that time, like nightly backups?
MoritzLost
CC BY-SA 4.0
2023-02-24T09:51:54.330Z
Thanks @MoritzLost - we do run a nightly backup up but this happens much later in the night. I can see the I/O spike when this happens but it doesn't effect the CPU usage.
Malcolm Wax
CC BY-SA 4.0
2023-03-03T01:11:24.817Z
cron jobs would be the first suspect, but since that isn't it, I'd check the web server access logs around that time to see if there was an actual spike in web server traffic around that time.
Brad Bell
<performance><hosting><digitalocean>
Daily CPU spikes bring site down
# Daily CPU spikes bring site down

(Asked by: username_0 on 2023-02-23)

Over the past month or so we have been getting a daily CPU spike which is killing our Craft 3.7.59 site. It happens between 9pm and 10pm GMT each night and doesn't seem linked to any increase in traffic.

The site is hosted on Digital Ocean and we have moved to a new Droplet, restarted everything & redeployed everything. We have a daemon to run the queue but it doesn't look like this is busier than usual at this time.

[![enter image description here](https://i.sstatic.net/t0dzp.png)](https://i.sstatic.net/t0dzp.png)

Has anyone experienced anything similar? Could Craft be running a daily process around this time which is using up the server resources?

Many thanks,
Malcolm

**Tags:** performance, hosting, digitalocean
> **Comments:**
> **username_1**: Are you running any cron jobs at that time, like nightly backups?  
> **username_0**: Thanks @MoritzLost - we do run a nightly backup up but this happens much later in the night. I can see the I/O spike when this happens but it doesn't effect the CPU usage.  
> **username_2**: cron jobs would be the first suspect, but since that isn't it, I'd check the web server access logs around that time to see if there was an actual spike in web server traffic around that time.  

---

## 0 answers

