Question

Site keep going down, get 504 error

Hi, We have been facing a peculiar issue. We asked on various other forums/wordpress and few people said it is to do with your server on Digital Ocean

https://prnt.sc/1qd42pc

We get 504 error 10-15 mins randomly and then the site comes back up. What could be the issue? We checked DNS maps too, that is fine.

Stunning thing is we found nothing in the error logs. Am not sure why is this happening, can anyone help?

Website: www.gadgetbridge.com


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.

Want to learn more? Join the DigitalOcean Community!

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.

Hello,

There could be a lot of things that could cause that error. I would recommend starting with the following:

  • Make sure that the server has enough resources. You can follow the steps here on how to check that:

https://www.digitalocean.com/community/tutorials/how-to-monitor-cpu-use-on-digitalocean-droplets

  • Which logs exactly have you checked? I would recommend checking the following: the PHP error log, the Apache or Nginx error logs depending on the one that you use, the MySQL error log, the syslogs.

  • I could also suggest adding a caching plugin for your site so that the overall load on the server could be reduced

Let me know how it goes. Regards, Bobby