From owner-freebsd-questions Thu Dec 14 17:23:42 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 14 17:23:41 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from hyperreal.org (taz.hyperreal.org [209.133.83.16]) by hub.freebsd.org (Postfix) with SMTP id 07EC837B400 for ; Thu, 14 Dec 2000 17:23:41 -0800 (PST) Received: (qmail 28007 invoked by uid 12); 15 Dec 2000 01:23:41 -0000 Message-ID: <20001215012341.28006.qmail@hyperreal.org> From: mike@hyperreal.org Subject: Re: Dead shell issue IEs+ - bash In-Reply-To: <001a01c064f5$ab796a40$98deadcb@ocs.net.nz> from "Bevan McNaughton." at "Dec 14, 2000 00:13:05 am" To: "Bevan McNaughton." Date: Thu, 14 Dec 2000 17:23:41 -0800 (PST) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL60 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bevan McNaughton. wrote: > *user* 63712 0.0 1.0 1636 1312 p0- IEs+ 2:43PM 0:00.03 -bash (bash) > > I then try to kill the bash shell of the user, he has 2 open but isn't logged in at all! > > Nothing seems to work, > kill -9 (pid) > kill -kill (pid) This seems to be coming up a lot in FreeBSD 4.x. Do this: ps -auwwx | fgrep ttyp0 Do you see any other processes on ttyp0? Perhaps sshd owned by root? If so, kill that one and the dead bash shell should go away. I have a 4.2 box that is often getting hung sshd processes like this. It tends to happen when I paste text into my client. Only sshd is affected. I'm curious to know if you are experiencing the same thing. Let me (and the list) know what you find on your system. If it is reproducible on different boxes then we can pass some good data to the freebsd-bugs people. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message