Date: Tue, 11 Mar 2014 10:22:36 -0300 From: Marcelo Gondim <gondim@bsdinfo.com.br> To: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: sshd with zombie process on FreeBSD 10.0-STABLE Message-ID: <531F0E1C.8020800@bsdinfo.com.br> In-Reply-To: <CAPJF9wnVOYjTXB0A1wyzwvCj-Tvx_u2uYLW72-wDuz-QZpwT4w@mail.gmail.com> References: <53016D97.5030909@bsdinfo.com.br> <53066B59.5000709@yandex.ru> <531A6C66.2010101@bsdinfo.com.br> <CAPJF9wnVOYjTXB0A1wyzwvCj-Tvx_u2uYLW72-wDuz-QZpwT4w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Em 11/03/14 05:45, Alexander Yerenkow escreveu: > Could you try to change shell to simple "sh" and see if this helps? > This could be due to non-atomic work with history file when multiple > clients log off, causing csh produce large broken history files. > This is not 100% your case, but you could at least try :) Hi Alexander, I can try but it always used bash on that server and it just started to happen after I migrated from FreeBSD 9.x to 10.x I'll put the sh and see what happens. :D Thanks and best regards. > > > 2014-03-08 3:03 GMT+02:00 Marcelo Gondim <gondim@bsdinfo.com.br>: > >> 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@bart.xxxxx.com.br:/usr/obj/usr/src/sys/GONDIM10 >> amd64 >> >> Thanks and best regards, >> >> Gondim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?531F0E1C.8020800>