From owner-freebsd-hackers@FreeBSD.ORG Thu May 29 19:05:59 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 405C237B401 for ; Thu, 29 May 2003 19:05:59 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D900F43F3F for ; Thu, 29 May 2003 19:05:58 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id CD35172FDC; Thu, 29 May 2003 19:05:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id CBDFB72FD1; Thu, 29 May 2003 19:05:58 -0700 (PDT) Date: Thu, 29 May 2003 19:05:58 -0700 (PDT) From: Doug White To: jason fiddian In-Reply-To: <200305300141.h4U1fAl4012131@valley.nettas.net> Message-ID: <20030529190520.E19747@carver.gumbysoft.com> References: <200305300141.h4U1fAl4012131@valley.nettas.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers Subject: Re: left over shells/processes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 02:05:59 -0000 On Fri, 30 May 2003, jason fiddian wrote: > i feel i'm missing something simple here. > we have a freebsd 4.6 server that approx 20 users telnet into to > access a retail application. if a user closes their telnet session > without logging out correctly it leaves behind the shell and any > processes attached to it. > how can we kill these leftover shells & processes if this occurs? Is your app handling SIGHUP? If not, the app will stay running, as well as its parents. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org