Laravel Application through Forge on AWS EC2 (T2.Medium) reached constant 100% CPU
I am running my laravel 6.x application on EC2 (T2.Medium), for the last 5 months the CPU continues stay at 100% utilization regardless of any traffics or jobs, 5 months back it was fine. How can I debug it?
Below is the result of the top command top - 17:23:54 up 505 days, 7 min, 1 user, load average: 1.33, 1.22, 1.32 Tasks: 121 total, 3 running, 118 sleeping, 0 stopped, 0 zombie %Cpu(s): 17.2 us, 5.9 sy, 0.0 ni, 45.8 id, 0.0 wa, 0.0 hi, 0.0 si, 31.1 st MiB Mem : 3933.8 total, 225.3 free, 614.2 used, 3094.2 buff/cache MiB Swap: 1024.0 total, 665.7 free, 358.2 used. 2977.1 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
842 forge 20 0 202300 53988 16988 R 100 1.3 195615:01 php
11 root 20 0 0 0 0 R 0.3 0.0 695:17.48 rcu_sched
Please or to participate in this conversation.