By amthomas
Hi folks, I’ve been running a process on an ‘ubuntu-m-8vcpu-64gb’ machine with 200GB SSD, and ran into an issue when monitoring seems to drop and my process never finishes. I tried it twice (1st at 09:00, which failed at 11:30, and the 2nd at 14:30, which failed at 16:00), but I can’t determine if the machine is actually running out of resources. Is there any indication based on my screenshots below as to what might be happening for these gaps to occur?
Screenshot 1 Screenshot 2 Screenshot 3
If there’s any recommended process logging I could set/check then I’m all ears.
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi there @amthomas,
I think that this could be caused by some really high workload on the Droplet so that the whole server gets unresponsive and the monitoring agent is unable to collect any data.
What I would usually do in this case is to put together a short script to note down the processes to a log file so that I could review them later on after the spike and try and figure out what exactly happened. Here is an example script that you could use:
Another approach rather than using a custom script is to use SAR/systat instead. The sar command allows you to capture the utilization of your resources like RAM, CPU, Disk I/O and etc.
Here is how to install and configure it on Ubuntu:
https://www.digitalocean.com/community/questions/how-to-install-and-configure-sar-sysstat-on-ubuntu
Hope that this helps! Regards, Bobby
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.