From owner-freebsd-hackers Thu Aug 21 11:31:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA10591 for hackers-outgoing; Thu, 21 Aug 1997 11:31:59 -0700 (PDT) Received: from gaia.coppe.ufrj.br (jonny@[146.164.5.200]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA10575 for ; Thu, 21 Aug 1997 11:31:35 -0700 (PDT) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id PAA06860 for hackers@freebsd.org; Thu, 21 Aug 1997 15:30:41 -0300 (EST) From: Joao Carlos Mendes Luis Message-Id: <199708211830.PAA06860@gaia.coppe.ufrj.br> Subject: netstat kvm error To: hackers@freebsd.org Date: Thu, 21 Aug 1997 15:30:41 -0300 (EST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Argh.. I'm tired of these netstat kvm error messages -> netstat: kvm_read: Bad address I get these when doing netstat on my main squid server. It starts looking for DNS addresses, and the race conditions on the PCB list kvm reading gets worse. What if the program first reads the kvm info, and only then do the DNS resolution to get the real names ? It's not a true solution, but at least minimizes the race window. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67