cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1603
Views
3
Helpful
11
Replies

how to clear ssh process

Noovi
Level 1
Level 1

Hi Guys,

i am getting issues to write confgurayion on cisco switch.

I am observing some ssh process logs as shwon below. Can we clear this ssh process from CLI?

Sw(config)#do sh proc cpu sor | i SSH
3 1483 808 1835 0.00% 0.00% 0.00% 1 SSH Process
417 16 3713 4 0.00% 0.00% 0.00% 0 SSH Event handle
420 874 1436 608 0.00% 0.00% 0.00% 2 SSH Process
421 143 171 836 0.00% 0.00% 0.00% 3 SSH Process
422 2047 1249 1638 0.00% 0.00% 0.00% 4 SSH Process
423 1554 636 2443 0.00% 0.00% 0.00% 5 SSH Process
425 3220 2152 1496 0.00% 0.07% 0.18% 6 SSH Process

 

Jul 7 06:44:32.367 GMT-3: %PARSER-6-WMLRETRY: Write memory lock currently held by pid '3', automatic retry. -Process= "SSH Process", ipl= 0, pid= 420
Jul 7 06:44:37.778 GMT-3: %PARSER-6-WMLRETRY: Write memory lock currently held by pid '3', automatic retry. -Process= "SSH Process", ipl= 0, pid= 423
Jul 7 06:44:45.198 GMT-3: %PARSER-6-WMLRETRY: Write memory lock currently held by pid '3', automatic retry. -Process= "SSH Process", ipl= 0, pid= 421

11 Replies 11

balaji.bandi
Hall of Fame
Hall of Fame

what device model is this, what IOS XE code running on this. (why i was asking this, see any bugs, so you can upgrade the code to fix and reboot)

 

just give hint, you may need to reboot device to fix this.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Device model is WS-C2960XR-48LPS-I with image c2960x-universalk9-mz.152-2.E7.bin

actually we tried reboot also but still issue is there

Is there a DNAC appliance?

Not DNAC but we have Solar wind to tak periodic backups


@Noovi wrote:

Not DNAC but we have Solar wind to tak periodic backups


Ok, humour me a bit.  

Do this to the switch: 

conf t
 login on-success log
end
wr

And then reboot the switch.  Once the switch boots up, look at the logs.  The above command will state in the logs WHO have logged in.  

Try clearing all the session any one logged in (kick them out and check is this ok ?) if not as suggeted reboot and monitor.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

strange thing is that in one of the switch we have done image upgrade as per latest code but still same issue

Jitendra Kumar
Spotlight
Spotlight

 

This command should work for you.

clear tcp local

clear tcp tcb 808E9EB4

clear tcp tcb *

 

Thanks,
Jitendra

Jitendra Kumar
Spotlight
Spotlight

Workaround: Use show tcp brief all command to view TCB that have local and foreign addresses as “*.*”. Clear those entries using the following command clear tcp tcb address of the TCB.

 

However when VRFs are configured, such TCB can be reused only for that VRF. If there are several VRFs configured in the box, one TCB per VRF will be leaked. And there is a limit of 20 such “wild TCBs” in the system. So, once we reach the limit of 20, because we leak one per each different VRF, any connection request coming in will be denied.

Thanks,
Jitendra

marce1000
VIP
VIP

 

 - Use latest advisory release : https://software.cisco.com/download/home/284832160/type/280805680/release/15.2.7E6  , check if that can help.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card