Question

Service Unavailable Issue

What could be the reason for service unavailability?. Due to service unavailable we are facing issues like not able to download or upload images, this has happended twice in last 2 weeks. Our current plan is of $5 which includes 250 GiB of data storage.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
October 16, 2023

Hi there,

the “Service Unavailable” error could be caused by different issues, here are a few common reasons and troubleshooting steps:

  1. On the $5 plan, there might be resource constraints such as CPU, RAM, and I/O limits. If your application or service is utilizing a lot of these resources, the server might become unresponsive, leading to a “Service Unavailable” message. You can check server resource usage via monitoring tools like top, htop, or using DigitalOcean’s monitoring and alerting features.

  2. Check your server error logs. If you’re using a web server like Apache or Nginx, they’ll have error logs that can provide clues about what’s causing the service to become unavailable.

    • For Apache: /var/log/apache2/error.log
    • For Nginx: /var/log/nginx/error.log
  3. Database Issues: If your application relies on a database, ensure the database isn’t the bottleneck. Connection issues, long-running queries, or maxed-out connections can all cause service disruptions.

If you are running out of memory for example, you could consider adding more RAM to your Droplet and also creating a swap file:

https://www.digitalocean.com/community/tutorial-collections/how-to-add-swap-space

Let me know how it goes!

Best,

Bobby

KFSys
Site Moderator
Site Moderator badge
October 13, 2023

Heya,

It’s possible during the Service Unavailable issue you have seen for there to have been an outage. When that happens you can check the Status page here:

https://status.digitalocean.com/

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel