From owner-freebsd-questions@FreeBSD.ORG Wed Jan 18 04:16:39 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 7DC1816A41F for ; Wed, 18 Jan 2006 04:16:39 +0000 (GMT) (envelope-from mcrogerm@stjohn.ac.th) Received: from stjohn.ac.th (ns.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1C8343D49 for ; Wed, 18 Jan 2006 04:16:37 +0000 (GMT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip.stjohn.ac.th [203.151.134.104] by stjohn.ac.th with ESMTP (SMTPD-8.21) id A12207C4; Wed, 18 Jan 2006 11:16:34 +0700 Message-Id: <5.2.0.9.0.20060118110501.00aa95a8@127.0.0.1> X-Sender: 2-server.international.stjohn.ac.th:mcrogerm@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Wed, 18 Jan 2006 11:16:34 +0700 To: freebsd-questions@freebsd.org From: Roger Merritt In-Reply-To: <20060118041836.L884@www.pukruppa.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 04:16:39 -0000 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. -- Roger