'Rails Puma server incredibly slow page rendering
Recently, my puma server on my ec2 ubuntu instance has been very very slow (>100 sec page load times).
In the image above you'll see all layers of the rendering stack load 100X slower than they should. I did notice it became slower and slower over time, starting two days ago.
I have the same exact code on a staging site and the server is fine. I've tried restarting, stopping/starting puma, the instance itself, and even gotten AWS support to look and see if any anomalies are occurring within the instance. All negative. RAM and CPU usage is half of capacity, instance looks otherwise healthy. Running fine locally as well.
Has anyone encountered something like this and might know of a cause?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

