From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 13:56:42 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CFE937B401 for ; Fri, 13 Jun 2003 13:56:42 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CA8B43FA3 for ; Fri, 13 Jun 2003 13:56:38 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h5DKuDVd039656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Jun 2003 23:56:13 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h5DKu98R039646; Fri, 13 Jun 2003 23:56:09 +0300 (EEST) (envelope-from ru) Date: Fri, 13 Jun 2003 23:56:09 +0300 From: Ruslan Ermilov To: Steve Francis Message-ID: <20030613205609.GC29368@sunbay.com> References: <3EEA2AE5.6070109@expertcity.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KN5l+BnMqAQyZLvT" Content-Disposition: inline In-Reply-To: <3EEA2AE5.6070109@expertcity.com> User-Agent: Mutt/1.5.4i cc: freebsd-net@freebsd.org Subject: Re: What are Interface errors in netstat? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 20:56:42 -0000 --KN5l+BnMqAQyZLvT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2003 at 12:49:57PM -0700, Steve Francis wrote: > Can anyone explain what are interface errors in netstat -I? >=20 > I assume they are CRC, undersize frames, etc. > Anyway to get details on which errors are occurring? >=20 The interface input/output errors are incremented by the if_output routines. These are documented in the ifnet(9) manpage, as ifi_ierrors and ifi_oerrors, respectively. > Also, I'm now not sure that is what the error counter means - a box=20 > doing about 20k pps normally runs with no reported interface errors -=20 > however, when the application crashed, it got a spike of input interface= =20 > errors. >=20 The nature of these errors is very interface specific, except for some common types like memory allocation failure, input/output queue full, etc. > The application crashing should not have affected MAC layer packets, so= =20 > do interface errors also include some TCP layer errors? >=20 No. TCP layer errors are available thru "netstat -s -p tcp". Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --KN5l+BnMqAQyZLvT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+6jppUkv4P6juNwoRAiw1AJ9hk1w8tsOkyp3Io44NLAW8qOoFXgCeJtPR P9VPHuPi2xb8lUQEf16H1pI= =nozu -----END PGP SIGNATURE----- --KN5l+BnMqAQyZLvT--