From owner-freebsd-stable Thu Aug 15 8:17:27 2002 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 09C1A37B401; Thu, 15 Aug 2002 08:17:17 -0700 (PDT) Received: from mail.seattleFenix.net (seattleFenix.net [216.39.145.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 742C943E70; Thu, 15 Aug 2002 08:17:16 -0700 (PDT) (envelope-from roo@mail.seattleFenix.net) Received: (from roo@localhost) by mail.seattleFenix.net (8.11.6/8.11.6) id g7FFH9N04916; Thu, 15 Aug 2002 08:17:09 -0700 (PDT) (envelope-from roo) Date: Thu, 15 Aug 2002 08:17:09 -0700 From: Benjamin Krueger To: Max Clark Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Loosing network connection repeatedly without an identifiable cause Message-ID: <20020815081708.E3109@mail.seattleFenix.net> References: <003501c2446c$e6dc7700$6445a8c0@princess> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003501c2446c$e6dc7700$6445a8c0@princess>; from max@clarksys.com on Thu, Aug 15, 2002 at 08:03:23AM -0700 X-PGP-Key: http://www.macguire.net/benjamin/public_key.asc Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Max Clark (max@clarksys.com) [020815 08:03]: > Hi, > > I am experiancing some incredibly odd behaivor with a 4.6-Stable box. > > I recently moved this machine to a different network replacing an old > computer. Without obvious cause I lose connectivity to this server. I > initially thought that there was another device trying to advertise the same > IP address (odd because I swapped IPs when I swapped machines) so I changed > the IP addresss to something that I knew wasn't in use and cleared arp on my > router. Same behavior, so I figured bad network cable/hub port so I > replaced, same behavior. > > I now have a serial console cable on this machine, after I lost connectivity > again tonight I connected on the console. ifconfig -a shows the interface > up, the machine hasn't rebooted. The only thing that I can see that is odd > was an arp -a didn't show neighbor computers nor the local interface > ([permanent]) entry. > > I'm kind of at a loss as to what to try next. This machine worked fine on my > home LAN. Below is the dmesg, I'm using the fxp interface, I added the ed > today out of despiration. > > Any help would be greatly appreciated. > Thanks in advance! > -Max > > fxp0: flags=8843 mtu 1500 > inet x.x.x.4 netmask 0xffffffc0 broadcast x.x.x.63 > ether 00:90:27:de:8c:dc > media: Ethernet autoselect (10baseT/UTP) > status: active > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 Check the number of available mbufs. roo@overcast:~> netstat -m 68/464/10112 mbufs in use (current/peak/max): 66 mbufs allocated to data 2 mbufs allocated to packet headers 64/292/2528 mbuf clusters in use (current/peak/max) 700 Kbytes allocated to network (9% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines If your system uses all available mbufs it will stop responding on the network until some are cleared up. The following options from LINT should help you if you need to increase the number of available mbufs. See LINT for more info. # Set the size of the mbuf KVM reservation, in clusters. This is scaled # by approximately 2048 bytes. The system will auto-size the mbuf area # to (512 + maxusers*16) if this option is not specified. # maxusers is in turn computed at boot time depending on available memory # or set to the value specified by "options MAXUSERS=x" (x=0 means # autoscaling). # So, to take advantage of autoscaling, you have to remove both # NMBCLUSTERS and MAXUSERS (and NMBUFS) from your kernel config. # options NMBCLUSTERS=1024 # Set the number of mbufs available in the system. Each mbuf # consumes 256 bytes. The system will autosize this (to 4 times # the number of NMBCLUSTERS, depending on other constraints) # if this option is not specified. # options NMBUFS=4096 -- Benjamin Krueger "Life is far too important a thing ever to talk seriously about." - Oscar Wilde (1854 - 1900) ---------------------------------------------------------------- Send mail w/ subject 'send public key' or query for (0x251A4B18) Fingerprint = A642 F299 C1C1 C828 F186 A851 CFF0 7711 251A 4B18 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message