sshd with zombie process on FreeBSD 10.0-STABLE

Marcelo Gondim gondim at bsdinfo.com.br
Sat Mar 8 01:10:04 UTC 2014


Em 20/02/14 17:53, Andrey V. Elsukov escreveu:
> On 17.02.2014 06:01, Marcelo Gondim wrote:
>> Hi all,
>>
>> I have noticed zombie processes on the system after a few lost
>> connections on ssh.
>>
>> # ps afx
>> [...]
>>   8045  -  Is       0:00.01 sshd: unknown [priv] (sshd)
>>   8046  -  Z        0:00.01 <defunct>
>>   8054  -  IW       0:00.00 sshd: unknown [pam] (sshd)
>> 28146  -  Is       0:00.01 sshd: unknown [priv] (sshd)
>> 28147  -  Z        0:00.01 <defunct>
>> 28155  -  IW       0:00.00 sshd: unknown [pam] (sshd)
>> 43320  -  Is       0:00.01 sshd: unknown [priv] (sshd)
>> 43321  -  Z        0:00.01 <defunct>
>> 43322  -  IW       0:00.00 sshd: unknown [pam] (sshd)
>> 73413  -  Is       0:00.01 sshd: unknown [priv] (sshd)
>> 73414  -  Z        0:00.01 <defunct>
>> 73430  -  IW       0:00.00 sshd: unknown [pam] (sshd)
>> [...]
>>
>> Processes do not die with kill-9.
>> Anyone else noticed this?
> Hi,
>
> I use autossh and usually my system has several tens of sshd's zombies
> after few days uptime.
>
> 11.0-CURRENT #6 r262183
>
New system update and the problem with zombie sshd processes continue.
I noticed that this happens more often when the system has many remote 
access via ssh. This problem has been happening to me since the FreeBSD 
10.0R.

# uname -a
FreeBSD bart.xxxxx.com.br 10.0-STABLE FreeBSD 10.0-STABLE #5 r262657: 
Tue Mar  4 14:53:08 BRT 2014 
root at bart.xxxxx.com.br:/usr/obj/usr/src/sys/GONDIM10  amd64

Thanks and best regards,

Gondim



More information about the freebsd-stable mailing list