From owner-freebsd-stable@FreeBSD.ORG Fri Mar 31 00:38:54 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 964B816A444; Fri, 31 Mar 2006 00:38:54 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00DF543D76; Fri, 31 Mar 2006 00:38:52 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.21]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k2V0cfbO096416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 31 Mar 2006 10:08:46 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: David Xu Date: Fri, 31 Mar 2006 11:08:36 +1030 User-Agent: KMail/1.9.1 References: <200603221755.25666.doconnor@gsoft.com.au> <200603221611.07805.davidxu@freebsd.org> <200603222349.45539.doconnor@gsoft.com.au> In-Reply-To: <200603222349.45539.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1755331.3IeQsuAOVO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200603311108.37829.doconnor@gsoft.com.au> X-Spam-Score: -1.247 () ALL_TRUSTED,AWL X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: freebsd-stable@freebsd.org 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: Fri, 31 Mar 2006 00:38:54 -0000 --nextPart1755331.3IeQsuAOVO Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 22 March 2006 23:49, Daniel O'Connor wrote: > On Wednesday 22 March 2006 18:41, David Xu wrote: > > > The problem is that every now and then the process gets stuck and > > > becomes unkillable just after forking, ie.. > > > > Are you using pthreads ? > > Nope. Hmm I just found I had an FD leak - I am not sure if it's related. Interestingly I had ~1046 FDs open and FD_SET wasn't working properly, eg... fd_set fds; int fd; fd =3D 1046; FD_ZERO(&fds); FD_SET(fd, &fds); Results in fds being empty :( Does anyone know if that is expected behaviour? And whether this problem co= uld=20 cause the second one (eg tickle a bug). Thanks. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1755331.3IeQsuAOVO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBELHoN5ZPcIHs/zowRAqhlAJwI4MPv1QcvfEi71RDSA5z6AayRxQCdEY/U u2cHpxSK7tH7Lx18OXV4+8E= =QPqC -----END PGP SIGNATURE----- --nextPart1755331.3IeQsuAOVO--