From owner-freebsd-hackers Wed Nov 12 15:00:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA17851 for hackers-outgoing; Wed, 12 Nov 1997 15:00:56 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA17845 for ; Wed, 12 Nov 1997 15:00:53 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id PAA06960 for ; Wed, 12 Nov 1997 15:00:22 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma006958; Wed Nov 12 15:00:13 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id PAA10914 for freebsd-hackers@freebsd.org; Wed, 12 Nov 1997 15:00:13 -0800 (PST) From: Archie Cobbs Message-Id: <199711122300.PAA10914@bubba.whistle.com> Subject: unkillable process To: freebsd-hackers@freebsd.org Date: Wed, 12 Nov 1997 15:00:13 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Try the following experiment (on 2.2 and mabye 3.0): 1. Create a named pipe 2. Start typing into it using cat 3. Hit control-C as many times as you want You'll see that the process will not die even with kill -9, as it is stuck in uninterrupible disk sleep ("fifo"). But as soon as you read from the other end of the pipe, the process exits. Is there a missing PCATCH flag to tsleep() somewhere? Is this appropriate behavior? (hint: rhetorical question) Just Curious, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com