From owner-freebsd-questions@FreeBSD.ORG Wed Jan 18 05:19:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6428A16A41F for ; Wed, 18 Jan 2006 05:19:48 +0000 (GMT) (envelope-from root@pukruppa.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE7A043D46 for ; Wed, 18 Jan 2006 05:19:47 +0000 (GMT) (envelope-from root@pukruppa.de) Received: from [213.146.114.24] (helo=reverse-213-146-114-24.cust.kamp-dsl.de) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1Ez5jV0A82-00073f; Wed, 18 Jan 2006 06:19:45 +0100 Date: Wed, 18 Jan 2006 06:23:50 +0100 (CET) From: "P.U.Kruppa" X-X-Sender: root@www.pukruppa.net To: Roger Merritt In-Reply-To: <5.2.0.9.0.20060118110501.00aa95a8@127.0.0.1> Message-ID: <20060118061411.K884@www.pukruppa.net> References: <5.2.0.9.0.20060118110501.00aa95a8@127.0.0.1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Provags-ID: kundenserver.de abuse@kundenserver.de login:2446dbdf8275641f979193ced594c629 Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade eats my swap space 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: Wed, 18 Jan 2006 05:19:48 -0000 On Wed, 18 Jan 2006, Roger Merritt wrote: > At 04:25 AM 1/18/2006 +0100, you wrote: >> Hi! >> >> OK, this is an old PIII 1 GHZ , 500 MB RAM running >> 6.0-STABLE FreeBSD 6.0-STABLE #0: Sun Jan 15 05:56:00 CET 2006 >> >> When I start a >> >> # portupgrade -a >> >> up to 671 MB swap are used and I see this message: >> >> make: Max recursion level (500) exceeded.: Resource temporarily >> unavailable >> >> and of course everything becomes really slow. Has anybody else seen this? > > Yes. I'm running FreeBSD 6.0 on a PII 300MHz with 64MB RAM and a 40GB hard > drive. It works great until I run portupgrade on mysql-server. Then it runs > out of swap space and I get console error messages and have to reboot. I > haven't dug into it yet, but several months ago I redirected the swap file to > a different location to increase the size. I'll have to do some research to > find out exactly what I did and how much space I gave it and how to increase > it. I haven't had time yet to do it. Don't know why building mysql-* (and > possibly some others) takes so much swap space. I first encountered it > running portmanager -u and didn't realize for a couple of days (and four or > five freeze-ups) what was happening. > This really has become more dramatic: Usually - when I run a portupgrade - about half of my RAM is used and I can still work on my Gnome desktop without any swapping or serious performance losses. Now every port produces this Max recursion message and applications become unusable. Uli. ********************************************* * Peter Ulrich Kruppa - Wuppertal - Germany * *********************************************