SRX Services Gateway
Highlighted
SRX Services Gateway

High CPU utilization due to "ifmon" process in chasiss cluster?

‎03-29-2019 02:58 AM

Hi All,

 

Can someone explain to me what exactly function for this "ifmon" process. Is it any impact if i kill this process. Can someone guide me how to kill this process? Appreciate some feedback

 

 

{primary:node0}
user@srx> show chassis routing-engine node 1
node1:
--------------------------------------------------------------------------
Routing Engine status:
Slot 0:
Current state Master
Election priority Master (default)
Temperature 30 degrees C / 86 degrees F
CPU temperature 27 degrees C / 80 degrees F
DRAM 3313 MB (16384 MB installed)
Memory utilization 16 percent
5 sec CPU utilization:
User 73 percent
Background 0 percent
Kernel 27 percent
Interrupt 0 percent
Idle 0 percent
Model RE-S-1800x4
Serial ID 9013115900
Start time 2018-08-03 02:24:46 MYT
Uptime 238 days, 15 hours, 30 minutes, 49 seconds
Last reboot reason Router rebooted after a normal shutdown.
Load averages: 1 minute 5 minute 15 minute
1.05 1.05 1.00

 

 

{primary:node0}
user@srx> show system processes extensive node 1
node1:
--------------------------------------------------------------------------
last pid: 20797; load averages: 1.11, 1.07, 1.01 up 238+15:30:26 17:54:42
194 processes: 4 running, 173 sleeping, 1 zombie, 16 waiting

Mem: 329M Active, 93M Inact, 145M Wired, 1374M Cache, 69M Buf, 1296M Free
Swap: 3313M Total, 3313M Free


PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
72921 SUPERADMIN 1 122 0 6644K 2756K RUN 696.8H 93.26% ifmon
73421 root 1 8 0 62392K 28172K nanslp 33.2H 3.66% chassisd
20 root 1 -68 -187 0K 12K WAIT 55.4H 0.05% irq11: em0 em1 em2*

2 REPLIES 2
Highlighted
SRX Services Gateway

Re: High CPU utilization due to "ifmon" process in chasiss cluster?

‎03-29-2019 03:21 AM

Hi,

 

ifmon is a process which ran when you issue cli command "monitor interface <interface name>"

 

Example:

In first terminal window:

> monitor interface ge-0/0/0

 

In second terminal window from shell:

% ps ax | grep ifmon
22888 0 S+ 0:00.00 grep ifmon
22886 1 S+ 0:00.01 /usr/sbin/ifmon ge-0/0/0 <<<

 

In order to kill this process, you might try:

request system process terminate 72921

 

Regards,

Roman

 

Highlighted
SRX Services Gateway

Re: High CPU utilization due to "ifmon" process in chasiss cluster?

‎03-29-2019 10:16 AM

Hello there,

 

In addition to the suggestion above, You may also like to run the command "show system users" and log out the users who are not actively working on the device.

 

Also look for any script which might have been running interace monitor in the background.

 

Thanks,

Feedback