Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 11:16:34 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        freebsd-questions@freebsd.org
Subject:   Re: portupgrade eats my swap space
Message-ID:  <5.2.0.9.0.20060118110501.00aa95a8@127.0.0.1>
In-Reply-To: <20060118041836.L884@www.pukruppa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.0.20060118110501.00aa95a8>