Hello Beeelzebub,
beelze@ams-nik-er2> show system processes extensive | except 0.00
last pid: 33774; load averages: 4.08, 3.79, 3.53 up 762+06:50:43 11:01:54
165 processes: 8 running, 129 sleeping, 28 waiting
Mem: 1413M Active, 168M Inact, 227M Wired, 63M Cache, 112M Buf, 111M Free
Swap: 2821M Total, 2821M Free
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
1739 root 1 76 0 125M 110M RUN 4556.7 45.17% mib2d
33620 root 1 76 0 132M 11052K RUN 0:15 11.74% mgd
From the above outputs, I see that mib2d is utilizing 45.17 % and total free processes are around 5600M[Swap+Free].
In Routing-Engine, i see there is 0% Idle memory:
CPU utilization:
User 74 percent
Background 0 percent
Kernel 22 percent
Interrupt 4 percent
Idle 0 percent
Check the below Troubleshooting Checklist - Routing Engine High CPU:
https://kb.juniper.net/InfoCenter/index?page=content&id=KB26261
I see there is SNMP configured on the device and that may consume CPU for its process.
Can you disable SNMP monitoring and manually check the CPU usage for a while?
Bulk SNMP walk is bound to increase CPU on this EX. And if we poll for a lot of data in a short time, it could spike "mgd" or CLI process as too. It's better to only probe for critical alarms/events like interface downs, chassis/system alarms, etc., work out a lesser aggressive polling interval (if you poll every 5mins, try 10mins for example) and limit to a lesser no. of commands per poll rather than bulk. Please check this out:
https://kb.juniper.net/InfoCenter/index?page=content&id=KB30713&cat=EX3300&actp=LIST
The best to do is stay on the recommended Junos to avoid any others, but I believe for CPU utilization spike, that's something to expect during a bulk SNMP walk. If limited polling is done for what's critical, we must be alright:
https://kb.juniper.net/InfoCenter/index?page=content&id=KB21476&actp=METADATA#ex_series
I hope this helps. Please mark this post "Accept as solution" if this answers your query.
Kudos are always appreciated!
Best Regards,
Lingabasappa H
#SNMP#process#CPUutilization