From owner-freebsd-current@FreeBSD.ORG Mon Nov 12 10:11:19 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE1D916A419 for ; Mon, 12 Nov 2007 10:11:19 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from freebsd.alaskaparadise.com (freebsd.alaskaparadise.com [208.79.80.117]) by mx1.freebsd.org (Postfix) with ESMTP id 9669013C4B7 for ; Mon, 12 Nov 2007 10:11:19 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from 137-42-178-69.gci.net (137-42-178-69.gci.net [69.178.42.137]) by freebsd.alaskaparadise.com (Postfix) with ESMTP id CC31C23833D3 for ; Mon, 12 Nov 2007 10:10:56 +0000 (UTC) From: Beech Rintoul To: freebsd-current@freebsd.org User-Agent: KMail/1.9.7 References: <200711120020.26076.beech@freebsd.org> <47382470.3070001@FreeBSD.org> In-Reply-To: <47382470.3070001@FreeBSD.org> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?iso-8859-1?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?iso-8859-1?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Disposition: inline Date: Mon, 12 Nov 2007 01:10:54 -0900 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711120110.55086.beech@freebsd.org> Subject: Re: RELENG_7: swap_pager_getswapspace(3): failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beech Rintoul List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 10:11:20 -0000 On Monday 12 November 2007, Kris Kennaway said: > Beech Rintoul wrote: > > On Sunday 11 November 2007, mustkaru said: > >> On Nov 11, 2007 10:47 PM, Kris Kennaway wrote: > >>> mustkaru wrote: > >>>> Hi, > >>>> > >>>> I updated to RELENG_7 two yesterday, and under usual load > >>>> started getting hundreds of messages > >>>> > >>>> swap_pager_getswapspace(3): failed > >>>> > >>>> The system swap is 96% full; it is less than 20% usually under > >>>> the same load. The system started to kill off processes > >>>> because of lack of swap space: > >>>> > >>>> pid 52606 (thunderbird-bin), uid 1001, was killed: out of swap > >>>> space swap_pager_getswapspace(2): failed > >>>> pid 13984 (evince), uid 1001, was killed: out of swap space > >>>> > >>>> I suppose there's no way to get back to the more stable BETA2 > >>>> ? When cvsuping, I noticed > >>>> > >>>> 52815 Nov 8 14:03 vm_page.c > >>>> > >>>> had been changed. Might it be related to that? Might a next > >>>> possible change in that get back a more stable swapper. . .? > >>> > >>> This means you ran out of swap space because applications were > >>> requesting more virtual memory than your system contains. This > >>> is an application issue, not a kernel issue. > >>> > >>> Kris > >> > >> I hope so. It is weird though that I run exactly the same number > >> of applications every day; and I ran the same binary apps on an > >> earlier version of RELENG_7 (I updated system but not apps), but > >> I never ran out of swap space; in particular I have never used > >> more than .5 GB swap. This time, the system was using 1 GB swap. > >> So I suppose I should start hunting the guilty app. > > > > I'm seeing the exact same thing. I'm running -current from > > yesterday and this box is lightly loaded. I can't track it down > > to a specific process, but all of a sudden normal compiles are > > running me out of vm. This box has 500Mb ram and a gig of swap > > and has never run out of memory before. None of my applications > > have changed. I'm also starting to see it on a client's box I > > recently updated to 7.0, That box has 1Gb ram and 2Gb swap and is > > just a desktop and mailserver. I don't think this is application > > related. > > Then you have further investigation to do to prove that theory :) > > Kris I'd be happy to. All the processes on both boxes look normal. I suspected either kde or xorg, but everything looks ok. Point me in the right direction and I'll troubleshoot all I can. I do know we have a problem, if it's not related to vm_page.c, then we have a very evil application that is common to all. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------