By Ultimate745
I am using a nodejs express app with a domain protected by cloudflare, I setup uptimerobot to monitor the uptime of my site, first off when I go to my site sometimes it will instantly say error 521 web server is down, and I refresh once or twice and it works, it was never down. This happens even on the droplets direct ip. Second uptimerobot says it has a 77% uptime, and its still going down, the site goes out for about a hour at a time, randomly. I can even send just 4 GET requests to my server through an app, and the entire website wont load almost like its overloaded, but all the node logs have no errors. Im pretty sure this is just DO because I try the same exact code with a different host, and I have no downtime errors, and it doesnt crash when sending a few simple GET requests… anyone know why or how this is DO or how to fix it?
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!
Hi @Ultimate745,
I’ll recommend troubleshooting this behavior directly on the Droplet. Most probably you are experiencing some high load on the server. I’ll recommend SSHing to the Droplet to find the exact reason.
A few tips would be to check the number of connections, check the IP addresses that have been connected to your droplet to confirm where are they from. See if any SQL queries are causing issues as well.
Regards, KDSys
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.