From owner-freebsd-stable@FreeBSD.ORG Thu Dec 2 14:06:44 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC43916A4CE for ; Thu, 2 Dec 2004 14:06:44 +0000 (GMT) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D70243D66 for ; Thu, 2 Dec 2004 14:06:44 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.1/8.13.1) with ESMTP id iB2E6L9m016670 for ; Thu, 2 Dec 2004 15:06:21 +0100 (CET) (envelope-from ivoras@fer.hr) Message-ID: <41AF215D.9020500@fer.hr> Date: Thu, 02 Dec 2004 15:06:21 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 0.9 (X11/20041111) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org References: <41AF0258.5000601@fer.hr> <200412021207.iB2C7sT0075380@drugs.dv.isc.org> In-Reply-To: <200412021207.iB2C7sT0075380@drugs.dv.isc.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Unkillable zombie sshd-s? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 14:06:45 -0000 Mark Andrews wrote: >>Is there a way to find out what has happened and why does the situation >>occur? (I can't reboot the server for testing) > > You can't kill them because they are already dead. They > are just holding state so that the parent process can know > how they died. Once the parent process wait()'s on them > (or the parent dies) they will disappear. I knew that (except the bit that they're ukillable by design :) ), but I was hoping it's a known ssh problem - this is the first time I saw sshd processes as zombies (and it seems they've been zombies for a long time, so parents are probably in error). Can I find out what their parent processes are? (something like tree-shaped ps?)