System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Too many user's SSH connections | not terminating properly

JayroSaycon
Occasional Advisor

Too many user's SSH connections | not terminating properly

Hi there,

 

We have this monitoring tool 'SolarWinds' and I configured it using snmpv3 and Solariwinds default OS monitoring templates are working through SSH connection via 'monadmin' user id.

 

If SolaWinds pulls data from the server, it uses the 'monadmin' id to connect via SSH to the server.

 

My problem is one of my server having 11.23 OS is not terminating those SSH processes and keeps on filling up and stucked getting me a lot of numbers of 'monadmin' ssh processes. Other hpux server has no issues and SSH connection are getting terminated properly.

 

Anyone encounter this issue before? Hope I can get some help and inputs from you guys. 

 

Some example below (i have killed previous stucked processes already, originally those numbers ended about 150 processes, and we cannot have new SSH sessions anymore):

 

monadmin 17426 1 0 10:45:28 pts/1 0:00 -sh
monadmin 17425 1 0 10:45:28 pts/2 0:00 -sh
monadmin 25362 25277 0 11:15:58 pts/4 0:00 sh
monadmin 17463 17426 0 10:45:37 pts/1 0:00 sh
monadmin 25277 1 0 11:15:50 pts/4 0:00 -sh
monadmin 17464 17425 0 10:45:37 pts/2 0:00 sh
monadmin 5947 5935 0 11:53:53 ? 0:00 sshd: monadmin@pts/5
monadmin 6266 5949 2 11:55:04 pts/5 0:00 ps -ef
monadmin 5949 5947 0 11:53:53 pts/5 0:00 -sh
root 5935 29876 0 11:53:48 ? 0:00 sshd: monadmin [priv]
monadmin 6267 5949 0 11:55:04 pts/5 0:00 grep monadmin

 

Thanks in advance.

1 REPLY
Dennis Handly
Acclaimed Contributor

Re: Too many user's SSH connections | not terminating properly

Have you tried using tusc on these sh processes to see what they are doing?