From owner-freebsd-current@FreeBSD.ORG Wed Mar 16 15:02:22 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1510B16A4CE for ; Wed, 16 Mar 2005 15:02:22 +0000 (GMT) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id D234043D55 for ; Wed, 16 Mar 2005 15:02:20 +0000 (GMT) (envelope-from quakelee@geekcn.org) Received: from [192.168.1.100] (unknown [61.51.216.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 25F84EB0A95; Wed, 16 Mar 2005 23:02:13 +0800 (CST) Message-ID: <4238BAF1.5080305@geekcn.org> Date: Thu, 17 Mar 2005 07:02:09 +0800 From: Quake Lee User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marco van Lienen References: <20050316125541.GA24800@lordsith.net> In-Reply-To: <20050316125541.GA24800@lordsith.net> Content-Type: text/plain; charset=gb18030; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current Subject: Re: swap_pager: out of swap space during gnome_upgrade.sh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 15:02:22 -0000 Marco van Lienen wrote: >I have -CURRENT as of 03/14 running on a dell latitude d600. >This was un upgrade from 5.3-STABLE. >The laptop has 512Mb RAM and 1Gb of swap space. > >root@yoda <~> 569# df -h >Filesystem Size Used Avail Capacity Mounted on >/dev/ad0s1a 124M 60M 54M 53% / >devfs 1.0K 1.0K 0B 100% /dev >/dev/ad0s1e 16G 8.5G 6.2G 58% /usr >/dev/ad0s1d 989M 62M 848M 7% /var > >root@yoda <~> 569# swapinfo >Device 1K-blocks Used Avail Capacity >/dev/ad0s1b 1048576 10395282 1022756 99% > >Today I'm trying to upgrade all glib/gtk/gnome libs following as per 20050312 >(/usr/ports/UPDATING). > >Reasonably early during the 4th and final stage of the gnome_upgrade.sh script (GNOME_UPGRADE_SH_VER=2.10-3 >(during an openoffice-1.1 build)) /var/log/messages gets flooded with the following messages: > >Mar 16 12:47:39 yoda kernel: pid 96533 (sort), uid 0, was killed: out of swap >space >Mar 16 12:47:40 yoda kernel: swap_pager: out of swap space >Mar 16 12:47:40 yoda kernel: swap_pager_getswapspace(16): failed > >Mar 16 12:47:40 yoda kernel: pid 96611 (sort), uid 0, was killed: out of swap >space >Mar 16 12:47:41 yoda kernel: swap_pager: out of swap space >Mar 16 12:47:41 yoda kernel: swap_pager_getswapspace(16): failed > >It always is referring to the sort(1) process. > >I've not seen this behavior before during the 2 days running -CURRENT and >having upgraded several ports thru portupgrade(1). > >Hopefully someone can point me in the right direction. > >Marco > > > me too. I think it is the problems of /usr/bin/make, maybe have some memory leak. because I have 512MB memory and 1GB swap, but got out of swap too. I sugguest you build a new world or update your /usr/bin/make.