From owner-freebsd-current@FreeBSD.ORG Mon Nov 12 12:01:59 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 8B29116A49A for ; Mon, 12 Nov 2007 12:01:59 +0000 (UTC) (envelope-from karu.pruun@googlemail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2617513C4CA for ; Mon, 12 Nov 2007 12:01:58 +0000 (UTC) (envelope-from karu.pruun@googlemail.com) Received: by el-out-1112.google.com with SMTP id s27so266471ele for ; Mon, 12 Nov 2007 04:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ySFirR6hiNDix+Dg6d1ylo4ub4jkPrM75dzUPvy8O8I=; b=kptYDf+w1oj/ZxcYrs/C8DhwsnkGyQJIhG5tHdljNRDmP8Xod9gnZOViZwm08x3dw+6FtAS6dSMgZNGL1x2doGb3KeqQ6MQTTje03BYPbakDsqzcBYkoLvbsZemSC0n+iC4zzmpEtQOVj92hnhGQP4XRzqTaGp/dWNNsV2Zfhs0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ACnUAqgtrEnnnxDWTusooo0VJocZM1IbKAjmON6c3D1taM4rcqEn/JqaUciobhXTbSRFbfEJTE93phqv6v+tIT6wsAceqWiD+BaCRH2fAqXQNQRjJ2wgYS7Jx7ga4HD6pB3kaWzQyo1rQnMFdG2tXg93YhZHRop3vAsLwgGmXQA= Received: by 10.142.79.15 with SMTP id c15mr1153854wfb.1194868907541; Mon, 12 Nov 2007 04:01:47 -0800 (PST) Received: by 10.142.108.8 with HTTP; Mon, 12 Nov 2007 04:01:47 -0800 (PST) Message-ID: Date: Mon, 12 Nov 2007 12:01:47 +0000 From: mustkaru To: "Beech Rintoul" In-Reply-To: <47382470.3070001@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4737869B.7020105@FreeBSD.org> <200711120020.26076.beech@freebsd.org> <47382470.3070001@FreeBSD.org> X-Mailman-Approved-At: Mon, 12 Nov 2007 15:03:32 +0000 Cc: freebsd-current@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 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 12:01:59 -0000 On Nov 12, 2007 10:01 AM, Kris Kennaway wrote: > > 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 suspect it's tunderbird (version 2.0.0.6 (20071101)) and not the system. I admit I wasn't quite precise when saying Im using *all the same* apps. I realized this morning that after upgrading, I installed the above version of binary thunderbird package. The phenomenon is well reproducable: when Im running my normal set of apps, nothing happens. Then I start thunderbird, start downloading messages, and swap space hits the ceiling. Then the system kills off thunderbird. I can even start thunderbird alone and have the same effect. So I wonder if that's the same that you're seeing on your two machines? Must --