From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 18 08:35:24 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EAE71065675 for ; Fri, 18 Mar 2011 08:35:24 +0000 (UTC) (envelope-from mats.w.lindberg@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BC7EE8FC12 for ; Fri, 18 Mar 2011 08:35:21 +0000 (UTC) Received: by fxm11 with SMTP id 11so4024686fxm.13 for ; Fri, 18 Mar 2011 01:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CPbVI6D5iihlYX+yRDHDKtGRfEQPclvpGQ8gr33fqN8=; b=kChjZkjOwBoF3zskmbD1V9cU0pAIDPM41VlGM75pElQIp7ynlm6CtVFnb0Di/HS7Wb +lsO7htTI9O2hSvYP4XwrIL3pxNKMyNX/BF8kyIvAR2eG4a4GGC3zPM2Qx13ayqNxV+l xWkcXBQMWs6xO+s5P9ODI259KKC9asdoo+l5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vUUrruCqjpkQkopNdtHZKzMqqwdJF011nP20zWhB6DmUE9QaJNWOzIZ3Z7dttfnDuX 5+6S+ZKbze4Mcn9vT+CSRsT/xZS9Vs2ioH60dGZXM3i8tYlfaKejhBq/D9aItEK6VJ9s N9AWU13p5I5uXH9G/I+18NJDg8lTM1nDG+RT4= MIME-Version: 1.0 Received: by 10.223.31.133 with SMTP id y5mr958135fac.7.1300437320803; Fri, 18 Mar 2011 01:35:20 -0700 (PDT) Received: by 10.223.100.16 with HTTP; Fri, 18 Mar 2011 01:35:20 -0700 (PDT) In-Reply-To: <4D7E0831.4060804@gmail.com> References: <4D7DFC6F.80008@gmail.com> <4D7E0831.4060804@gmail.com> Date: Fri, 18 Mar 2011 09:35:20 +0100 Message-ID: From: Mats Lindberg To: Mark Tinguely Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 6 vs 8.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2011 08:35:24 -0000 So - after a while I've made some observations. My problem is actually connected to arp. My config is very static so basically I want to turn off arp requests. Somewhere in the startup scripts I did > sysctl -w net.link.ether.inet.max_age=2147483647 (max accepted value) Which on freebsd-6.x worked fine. In freebsd-8.1 this makes the kernel arp functionality go bezerk - probably an integer overflow somewhere. arp requests were sent countinously from my freebsd-8.1 node to others, flooding the network. I tried to lower this value and found that 500000000s works fine 1000000000s does not. 500000000s is OK to me so I won't try to narrow it down more. The reason I was suspecting swapping problems was that after a while with the flooding going on I got a kernel panic saying 'page fault', which I would guess is a another bug, but, with a sensible setting on the arp timeout the kernel panic does not show itself any longer. I've googled for my arp-setting problem but not found anything on it. So - maybe I'm the first to see this. Should I enter a bug report somewhere? I guess this forum is not the place. /Mats 2011/3/14 Mark Tinguely > > You are running out of physical memory, there is no swap backstore and the > kernel is killing off other programs to claim memory. > > Compare the /etc/login.conf on both systems. I bet in the FreeBSD 6.3 > system, the memory limit is set to a limit (8M) and on the FreeBSD 8.1 it > is much higher or is "unlimited". With a set memory limit, the "dd" is > killed before the kernel starts killing off the other program. > > > On 3/14/2011 6:41 AM, Mats Lindberg wrote: > > No - not from what I understand > in the vmware it looks like a real disk device /dev/ad0s1e > in the nfsroot'ed system I actually have 'of=/opt/something' which is > definately to the nfs disk. > > > 2011/3/14 Mark Tinguely > >> On 3/14/2011 6:17 AM, Mats Lindberg wrote: >> >>> All >>> I am migrating from FreeBSD 6.3 to FreeBSD 8.1 And I have noticed some, >>> what >>> I think is, strange behaviour. >>> >>> In FreeBSD 6.3 when I do >>> >>>> swapoff -a >>>> dd if=/dev/zero of=/tmp/whatever bs=1G count=1 >>>> >>> I get something like "out of memory - killed" >>> >>> In FreeBSD 8.1 doing the same - processes around start to die, e.g. all >>> getty's are killed and finally devfs goes the same way. >>> >>> My target is diskless nfs mounted to a linux fileserver - hence no swap >>> partition >>> It does not seem to be relalted to the nfs root however - I get the same >>> behaviour running FBSD-8.1 in a VMWARE server session. >>> >>> Is this a new 'feature' of FBSD or just a bug? >>> Are there some sysctl's to set to 'really' turn of swapping. >>> >>> At one instance I also got a kernel panic saying 'page fault in kernel' >>> but >>> I'm having a hard time to repeat just that. >>> >>> regards >>> Mats >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to " >>> freebsd-hackers-unsubscribe@freebsd.org" >>> >>> Do you have /tmp mounted on a memory filesystem? >> >> --Mark Tinguely >> >> > >