From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 21 13:16:08 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FA1E16F19A for ; Wed, 21 Feb 2007 13:16:08 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id E679E13C48D for ; Wed, 21 Feb 2007 13:16:07 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l1LDG7WO079147; Wed, 21 Feb 2007 07:16:07 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45DC461B.4090309@freebsd.org> Date: Wed, 21 Feb 2007 07:16:11 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Arone Silimantia References: <454188.23729.qm@web58615.mail.re3.yahoo.com> In-Reply-To: <454188.23729.qm@web58615.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2617/Wed Feb 21 05:38:25 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org Subject: Re: beefy system exhausted by MRTG port install (Cannot allocate memory) 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: Wed, 21 Feb 2007 13:16:08 -0000 On 02/20/07 11:44, Arone Silimantia wrote: > --- Eric Anderson wrote: > > >>> after this attempt, swapinfo still shows zero swap >> in use. >>> What does this mean ? >>> >>> Is my system now in an unstable state ? Should I >> reboot ? >> >> Did you try reducing your maxdsiz to something a few >> hundred mb's less? > > > No - after the 'make install' stopped I have not > touched anything. As I said, swapinfo still shows > zero swap being used. > > It's a Big Deal (TM) to bring this system down, and I > believe maxdsiz cannot be tuned on the fly with sysctl > ... are you suggesting that either make or cc just > gets out of hand and makes a process too big for > themselves ? > > If so, is it possible to tell make or cc to behave > ahead of time, and leave maxdsiz alone ? I don't know, but this seems to be a VM related issue (not issue as in bug). I think you've probably allocated pretty much all your memory to user-space stuff, and not left enough for the system to function. If you're on i386, and have all that set in maxdsiz, you're probably too close to the ceiling. I would drop it by ~500MB or so just to be safe. I'm absolutely no expert in this at all - I only suggested it because after tweaking my maxdsiz to a very large amount like you did (to allow for fsck), I successfully paniced my box on boot. So, knowing that, I would drop it down a bit. Eric