From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 17 14:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F5921065678 for ; Thu, 17 Jul 2008 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 43B4A8FC1C for ; Thu, 17 Jul 2008 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6HEo1nG007303 for ; Thu, 17 Jul 2008 14:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6HEo1jO007302; Thu, 17 Jul 2008 14:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 17 Jul 2008 14:50:01 GMT Resent-Message-Id: <200807171450.m6HEo1jO007302@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark McDonagh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DEC3106564A for ; Thu, 17 Jul 2008 14:43:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 74BD58FC30 for ; Thu, 17 Jul 2008 14:43:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6HEhesi004072 for ; Thu, 17 Jul 2008 14:43:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m6HEhe3A004071; Thu, 17 Jul 2008 14:43:40 GMT (envelope-from nobody) Message-Id: <200807171443.m6HEhe3A004071@www.freebsd.org> Date: Thu, 17 Jul 2008 14:43:40 GMT From: Mark McDonagh To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/125719: shells/pdksh, zombie process's occouring on SMP Machines from scripts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 14:50:01 -0000 >Number: 125719 >Category: ports >Synopsis: shells/pdksh, zombie process's occouring on SMP Machines from scripts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 17 14:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mark McDonagh >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD freebsd.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When using the pdksh shell the following script on a SMP system hangs after running for about 5 minutes. ############# # # debug.sh # while true; do echo `cat /var/run/sshd.pid` done ############# After running for 5 to 10 minute debug.sh stops outputting the contents of /var/run/sshd.pid and the script appears to be in sigsuspend mode. When you examine the process table there appears to be defunct child process whose parent is debug.sh. The problem doesn't occur on single CPU systems, however on multiple cpu systems the problem happens within minutes of starting the debug.sh script. >How-To-Repeat: 1) make pdksh your default shell 2) start the following script ############# # # debug.sh # while true; do echo `cat /var/run/sshd.pid` done ############# >Fix: None Known >Release-Note: >Audit-Trail: >Unformatted: