Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2006 04:55:44 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Chris Maness <chris@chrismaness.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Netwatch?
Message-ID:  <20060706185544.GA742@turion.vk2pj.dyndns.org>
In-Reply-To: <44AD3BCD.7000908@chrismaness.com>
References:  <44AC2A4B.4070401@chrismaness.com> <56413.192.168.0.10.1152134318.squirrel@webmail.sd73.bc.ca> <44AD3BCD.7000908@chrismaness.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060706185544.GA742>