From owner-freebsd-stable@FreeBSD.ORG Wed Mar 22 08:11:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C113A16A401 for ; Wed, 22 Mar 2006 08:11:19 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91A9743D45; Wed, 22 Mar 2006 08:11:19 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from localhost.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2M8BGfY077158; Wed, 22 Mar 2006 08:11:17 GMT (envelope-from davidxu@freebsd.org) From: David Xu To: freebsd-stable@freebsd.org Date: Wed, 22 Mar 2006 16:11:07 +0800 User-Agent: KMail/1.8.2 References: <200603221755.25666.doconnor@gsoft.com.au> In-Reply-To: <200603221755.25666.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200603221611.07805.davidxu@freebsd.org> Cc: Subject: Re: Process hanging on 6.0-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 08:11:19 -0000 =D4=DA Wednesday 22 March 2006 15:25=A3=ACDaniel O'Connor =D0=B4=B5=C0=A3=BA > Hi, > I work for a small company that makes radar systems for research=20 > organisations and we use FreeBSD on the PCs for data acquisition and=20 > processing. We have recently shifted to FreeBSD6/amd64 and one machine in= =20 > particular is exhibiting a strange problem. >=20 > The acquisition process is a Tcl interpreter with a largish chunk of C co= de > which talks to the hardware (via RS485 and a custom PCI card). Once the= =20 > system is set up it streams data back via the PCI card and runs it through > various data processors (eg dump raw data to disk, FFT, winds, etc..).=20 >=20 > The actual forking of processes is handled in Tcl and the C code only gets > involved to write the data out (to an FD the Tcl layer keeps). >=20 > The problem is that every now and then the process gets stuck and becomes > unkillable just after forking, ie.. Are you using pthreads ? David Xu