1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
Since restarting the instance temporarily resolves the issue, it could indicate a resource exhaustion problem (memory leaks, connection exhaustion, etc.). Consider scaling up your instance type or increasing your application's resource limits.
You can do the following :-
Temporarily upgrade your instance type to see if increased resources prevent the issue. Implement the configuration changes in Nginx, Laravel, and monitor the results. Set up alerts in AWS CloudWatch to notify you when certain thresholds (CPU, memory, disk I/O) are reached.
If the issue persists after these steps, consider consulting AWS support for deeper diagnostics specific to your environment.
Relevant content
- asked 2 years ago
- asked 8 months ago
- AWS OFFICIALUpdated 3 months ago

Previously we had resource exhaustion problem in initial stage of project deployment. We scaled up our instance type and currently using t2.large instance type, with an additional storage of 50GB.
Current instance type have 8GM RAM and I was suspecting it could be something memory leakage, but the current memory usage is almost than 50 % Here are the latest stats of RAM usage (in MBs)
total used free shared buff/cache available Mem: 7930 3344 2514 104 2070 4169 Swap: 0 0 0