By padeepz
how to identify the reason/process that making my droplet running at 100% and it throws a error 503. restarting the droplet solves this problem for a few hours and again it does it. how to view the server log. this is not a production site so no traffic at all
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!
Hello,
I could suggest following the steps here on how to find the processes that are consuming the most server resources:
Regarding your server logs, you can find them at the /var/log directory and you can use the cat or tail commands to check a specific log. For example, if you had an Nginx server and you wanted to check the last 100 lines of the Nginx log, you could use the following command:
tail -100 /var/log/nginx/access.log
Also if you have an Apache or Nginx server, you could use the following script to analyze the logs and see if there are any suspicious amount of requests coming from a specific set of IP addresses:
BASH Script to Summarize Your NGINX and Apache Access Logs
Let me know how it goes. Best, Bobby
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.