Description

Primary routing engine CPU IDLE is at 0 percent. Not able to commit any of the configuration as Httpd is taking High CPU

Symptoms

Under the output of Show system processes extensive we can see that httpd is taking CPU usage

PID  USERNAME  THR  PRI  NICE  SIZE  RES  STATE  TIME  WCPU  COMMAND
1682  nobody    8     40    0    13880K   7312K    ucondt    152.0H   82.52%    httpd


Due to this the CPU idle time is stuck at 0 percent.




 

Solution

About httpd process: -High CPU due to the httpd process on a juniper switch is typically related to the Web management interface(J-web) or related services. 

Steps which you can take to troubleshoot this issue:
1. Check the Current CPU usage using the command: show system processes extensive.
2.Check the J-web configuration using the command: show configuration | display set | match web-management.
3.If customer has the configuration and he is not using it try to disable it using the command: 
set system services web-management http disable.
commit

4.If still you are facing the issue with high CPU due to httpd process kill the process using the command:
start shell user root
kill <pid>
or 
kill -9 <pid>


After killing the process monitor the CPU usage.

 

Modification History

2024-08-23 : Article Created