Guest

Preview Tool

Cisco Bug: CSCvt85687 - periodically clean up old idle session in users table and dcos_sshd process without child vsh.bin

Last Modified

Jul 03, 2020

Products (55)

  • Cisco Nexus 9000 Series Switches
  • Cisco Nexus 3548 Switch
  • Cisco Nexus 9516 Switch
  • Cisco Nexus 3548-X Switch
  • Cisco Nexus 9396TX Switch
  • Cisco Nexus 93108TC-FX Switch
  • Cisco Nexus 92160YC-X Switch
  • Cisco Nexus 31108TC-V Switch
  • Cisco Nexus 3132Q-V Switch
  • Cisco Nexus 92304QC Switch
View all products in Bug Search Tool Login Required

Known Affected Releases

7.0(3)I7(5a)

Description (partial)

Symptom:
When users use java ssh scripts, there are two types that may remain in the device:

One shows old session
NAME     LINE         TIME         IDLE          PID COMMENT
ciaco   pts/0        Jun  5 02:43  old         7646 (10.124.34.161) session=ssh <<<<<<
ciaco   pts/2        Jul 28 09:43  old        27627 (10.124.34.161) session=ssh
ciaco   pts/3        Jul  7 09:54  old        10882 (10.79.101.135) session=ssh
ciaco   pts/4        Dec 26 00:11  old         6450 (10.125.15.244) session=ssh
ciaco   pts/5        Nov 26 16:31  old        29201 (10.79.101.194) session=ssh
ciaco   pts/6        Feb 29 20:19 00:49       31669 (10.79.101.160) session=ssh
ciaco   pts/7        Mar 13 09:43   .          3000 (10.124.24.100) session=ssh
 
The other is not in ‘show user’ but there is still a dcos_sshd process without vsh.bin in the system

N9K# show users
NAME     LINE         TIME         IDLE          PID COMMENT
ciaco    pts/23       Mar  6 04:43   .         26767 (10.124.34.161) session=ssh
cisco-ts pts/24       Mar  8 16:45   .         11110 (10.124.34.161) session=ssh *
ciscoa   pts/25       Mar  8 16:46   .         11546 (10.79.101.135) session=ssh
 
N9K# show processes cpu sort
PID    Runtime(ms)  Invoked   uSecs  1Sec    Process
-----  -----------  --------  -----  ------  -----------
9320   1811675088  1316039449   4640  12.50%  dcos_sshd                 <<<<<<<<<<<<<<<<
19439   2869283684  1536569714   4662  12.50%  dcos_sshd
31207   3884059357  845301494    4594  12.50%  dcos_sshd
 
bash-4.2$ pstree -p 9320
dcos_sshd(9320)
bash-4.2$ pstree -p 19439
dcos_sshd(19439)
bash-4.2$ pstree -p 31207
dcos_sshd(31207)


Both of two scenario (old ssh session and )can lead cpu usage high.

Conditions:
run java script
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.