Easily configure a performant, secure, and stable NGINX server.Learn More
504 Gateway Timeout after memory resizing
I have a droplet with a rails 5 app working fine. After a deployment I got errors when installing gems and I realized that I had to increase memory.
I had 1Gb and resized to 2Gb.
After resize from 1Gb to 2Gb of memory I got this error (504 Gateway Timeout).
Before resizing I poweroff from terminal, all fine, but I did not:
service nginx stop
service unicorn stop
service postgresql stop
Maybe, is this the problem?
Now all 3 services are working fine, but I still get the 504 Gateway Timeout error.
Also, now when In run
cap production deploy it hangs out when
I’m absolutely lost, and any help will be appreciated.
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.×