Date: Thu, 13 Nov 1997 11:58:55 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/5034: blocked write on named pipe sticks in uninterruptible sleep Message-ID: <199711131958.LAA26829@bubba.whistle.com> Resent-Message-ID: <199711132000.MAA14326@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 5034 >Category: kern >Synopsis: blocked write on named pipe sticks in uninterruptible sleep >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 13 12:00:01 PST 1997 >Last-Modified: >Originator: Archie Cobbs >Organization: Whistle Communications, Inc. >Release: FreeBSD 2.2-STABLE i386 >Environment: UFS file system. >Description: When a process blocks on a write to a named pipe, it is not interruptible, even by kill -9. >How-To-Repeat: 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. >Fix: Not sure, but somewhere some code is probably calling tsleep() without the PCATCH argument (as it should). >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711131958.LAA26829>