From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 19:14:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E3FD1065672 for ; Fri, 19 Jun 2009 19:14:24 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3F68FC0A for ; Fri, 19 Jun 2009 19:14:24 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id B4A5B1900F; Fri, 19 Jun 2009 19:14:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Fri, 19 Jun 2009 19:14:22 +0000 (GMT) Date: Fri, 19 Jun 2009 20:14:19 +0100 From: Bruce Cran To: Wojciech Puchar Message-ID: <20090619201419.27fcec9b@gluon.draftnet> In-Reply-To: References: <20090619175537.36128909@gluon.draftnet> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 19:14:24 -0000 On Fri, 19 Jun 2009 21:04:26 +0200 (CEST) Wojciech Puchar wrote: > > up-to-date HEAD: > > > > FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009 > > brucec@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc > > > > The problem I see is that after a few hours of running buildworld, > > when it starts building clang itself, 'as' crashes with a signal 11. > > > always at the same point or in random places? > > if first - it's probably not hardware problem. It's at a random location, but it always happens after the build has been running for a few hours and when it's ended up swapping some processes out of main memory. I've read http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 and wondered if the collatoral is a normal symptom too. > > I'm wondering if this is the normal case of bad memory/HDD/CPU or > > something else because it also causes several other processes to > > crash, notably dhclient and sendmail, but I've also seen tcsh crash > > too. I created a test program which allocated 500MB memory to > > force the system into swap (my iBook only has 512MB). After a few > > minutes dhclient crashed but the test program kept running. Is > > this what normally happens when hardware's going bad? > > isn't it going out of swap? No, it's definitely not running out of swap, since I have 4.5GB available! For example using the test program I allocate 500MB memory; 95MB swap gets used but after a few minutes I get: pid 470 (dhclient), uid 0: exited on signal 11 (core dumped) pid 1002 (sendmail), uid 0: exited on signal 11 pid 1054 (sendmail), uid 0: exited on signal 11 pid 1104 (sendmail), uid 0: exited on signal 11 pid 1156 (sendmail), uid 0: exited on signal 11 pid 1207 (sendmail), uid 0: exited on signal 11 but my test program keeps running: 1227 v1 R+ 2:06.23 /usr/obj/home/brucec/test -- Bruce