portupgrade eats my swap space

P.U.Kruppa root at pukruppa.de
Tue Jan 17 21:19:48 PST 2006


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 *
*********************************************


More information about the freebsd-questions mailing list