From owner-freebsd-ports@FreeBSD.ORG Thu Jul 6 18:55:56 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE1B616A4DF for ; Thu, 6 Jul 2006 18:55:56 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C21443D55 for ; Thu, 6 Jul 2006 18:55:55 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail05.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k66Itkj9023865 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 7 Jul 2006 04:55:47 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k66ItjT0007732; Fri, 7 Jul 2006 04:55:45 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k66ItjsL007731; Fri, 7 Jul 2006 04:55:45 +1000 (EST) (envelope-from peter) Date: Fri, 7 Jul 2006 04:55:44 +1000 From: Peter Jeremy To: Chris Maness Message-ID: <20060706185544.GA742@turion.vk2pj.dyndns.org> References: <44AC2A4B.4070401@chrismaness.com> <56413.192.168.0.10.1152134318.squirrel@webmail.sd73.bc.ca> <44AD3BCD.7000908@chrismaness.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <44AD3BCD.7000908@chrismaness.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-ports@freebsd.org Subject: Re: Netwatch? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 18:55:56 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 2006-Jul-06 09:35:25 -0700, Chris Maness wrote: >Freddie Cash wrote: >>Install trafshow instead. >This program seems to stay in memory after the shell closes and eats up=20 >processor time. Top showed this thing at 98%. Does this app. have a bug? Most likely. {p,k}trace it whilst it's eating processor time and see what it's doing. The most likely scenario is that it's reading stdin (which has gone away), ignoring the read error and re-issuing the read. In this case, fixing it would be a matter of finding the relevant code (main input handling loop) and implementing the missing error checking. --=20 Peter Jeremy --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFErVyv/opHv/APuIcRAspdAJ9ci9khCykUQekCdGhSRZpY5HFhgACeJKxj XXlSXnZIEmy6IneESnM5PpY= =suZt -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--