From owner-freebsd-stable@FreeBSD.ORG Fri Mar 3 22:25:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C2CE16A420 for ; Fri, 3 Mar 2006 22:25:15 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5785243D49 for ; Fri, 3 Mar 2006 22:25:13 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k23MP1nR004602; Sat, 4 Mar 2006 00:25:01 +0200 (EET) (envelope-from dmitry@atlantis.dp.ua) Date: Sat, 4 Mar 2006 00:25:01 +0200 (EET) From: Dmitry Pryanishnikov To: Peter Jeremy In-Reply-To: <20060303185157.GB692@turion.vk2pj.dyndns.org> Message-ID: <20060304001224.G356@atlantis.atlantis.dp.ua> References: <20060302181625.I3905@atlantis.atlantis.dp.ua> <76FAD2DB-CD18-42D4-95C8-F016CFB17B00@segpub.com.au> <20060303110936.R86586@atlantis.atlantis.dp.ua> <20060303185157.GB692@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_4 on flash disk and swap X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 22:25:15 -0000 Hello! On Sat, 4 Mar 2006, Peter Jeremy wrote: >> 4.11-RELEASE) such as "make buildwolrd". After successful completion of >> this procedure I issued "rm -rf /usr/obj/usr" and got the following >> (single) message from kernel: >> >> Mar 3 11:05:32 test3 /kernel: swap_pager_getswapspace: failed >> >> Does anybody know whether it's harmless? > > It depends what you mean by "harmless". The kernel tried to allocate > swap space for a process and failed. The kernel tries to recover by > killing the largest process (which should also be syslog'd). I'm In my case, not a single process has been killed. And I suppose that I know why... > surprised that you got this on the "rm" as the buildworld should > create bigger processes. If the "rm" was killed, you will need to > re-issue it to actually delete the files. ... because I think it wasn't a process which requested a page - it apparently was a softupdates code. Do you really believe that RELENG_4 lacks real memory for "make buildworld" on i386 with 256Mb RAM? I've issued "make buildworld" and "make buildkernel" several times, just to be sure. Every such a test was successful. My diagnostics (swap_pager_getswapspace: failed) occurs only once per OS run (it doesn't repeat until I reboot by box), and even with vm.swap_enabled=0! So I think it's harmless, I just want to confirm it w/o digging OS vm code. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE