Komal Agrahari
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in Why my rails production server reaches to 100% CPU usage and making app to be unresponsive?
Hello everyone,
I am also facing Ruby High CPU Usage, in my server, due to this issue my user not able to even signup or login in the app, I found the high cpu usage reason by top command.
The result of top command is given below -
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13514 ec2-user 20 0 1175m 904m 7008 R 101 12.5 10:50.75 ruby
14229 root 20 0 987m 3580 2108 S 2.3 0.0 0:06.05 PassengerHelper
15909 ec2-user 20 0 1291m 1.0g 6976 S 0.7 14.0 27:49.27 ruby
15904 ec2-user 20 0 1111m 901m 6512 S 0.7 12.4 26:19 PassengerHelper
What should be done to overcome this problem, please help me out asap.
Thanks!