Body: <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>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-23T13:52:40.153Z
Comments.Text: Are you running any cron jobs at that time, like nightly backups?
Comments.UserDisplayName: MoritzLost
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-24T09:51:54.330Z
Comments.Text: 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.
Comments.UserDisplayName: Malcolm Wax
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-03T01:11:24.817Z
Comments.Text: 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.
Comments.UserDisplayName: Brad Bell
Tags: <performance><hosting><digitalocean>
Title: Daily CPU spikes bring site down
ThreadText: # 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,
  username_0
  
  **Tags:** performance, hosting, digitalocean
  
  > **Comments:**
  > **username_1**: Are you running any cron jobs at that time, like nightly backups?  
  > **username_0**: Thanks @username_1 - 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
  
  