I just had a huge spike in bandwidth, which seems to have cause spikes in all else - RAM, CPU, Disk I/O. It caused the site to go down for a few minutes. I looked at my Google Analytics data and there was no particular user activity at that time.
I have LAMP stack (wordpress backend), with Nginx reverse proxy. Nodejs is doing rendering. It’s a headless wordpress.
How can I analyze what caused this bandwidth spike?
I suspect it could be a scraper. I am disallowing some scrapers from my robots.txt, but obviously not all scrapers are going to obey that. What would be a way to deal with that situation at digitalocean? A firewall?
Another suspicion I have it could be due to Digital Ocean backup. It was scheduled for today - I wonder if anyone has run into a similar issue with backups.
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!