Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 36CA59FB25F for ; Fri, 27 Jul 2007 10:44:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 90805-10 for ; Fri, 27 Jul 2007 10:44:35 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by postgresql.org (Postfix) with ESMTP id 3092A9FA589 for ; Fri, 27 Jul 2007 10:44:35 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 68so503324wri for ; Fri, 27 Jul 2007 06:44:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.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; b=dTQS6qnERIzdi70EOgNCUDPkcc1vUtoaRgccg9bjEueOVbCTas18atXWSsFI/Tx/fbZuCAagoFnPtXgzIOgRNumBDeoyirOMlTHpK+LutKXajrPumoXav4b5FjvSZkYqtYd5GnCOv3nzX9M1COIpoLq8Ca44Azs0Csh6c5+AsMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.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=YzwxaTu5u2DwNTY2gPyjaf/+Q7clZUSC3q3+PFqj7Buf9/PLOzE1YFT1T270nlLujp+WMjxaZ6hxBvwRZUO3jsYD8e2MwcK1r98A3b/W3QS8kakKkgaBEqsVYgppStOmjkxYUtl5KVVxQQ7G9cmguYvf1+KzewOmF07LSuXehIg= Received: by 10.78.175.14 with SMTP id x14mr758284hue.1185543871794; Fri, 27 Jul 2007 06:44:31 -0700 (PDT) Received: by 10.78.18.9 with HTTP; Fri, 27 Jul 2007 06:44:31 -0700 (PDT) Message-ID: Date: Fri, 27 Jul 2007 09:44:31 -0400 From: "Merlin Moncure" To: "Joshua D. Drake" Subject: Re: disk filling up Cc: "Brandon Shalton" , pgsql-performance@postgresql.org In-Reply-To: <46A8B3EC.1090807@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <009c01c7cfa0$ab526810$fc01a8c0@blaptop> <46A8B3EC.1090807@commandprompt.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/386 X-Sequence-Number: 26070 On 7/26/07, Joshua D. Drake wrote: > Brandon Shalton wrote: > > Hello all, > > > > My hard disk is filling up in the /base directory to where it has > > consumed all 200gig of that drive. > > > > All the posts that i see keep saying move to a bigger drive, but at some > > point a bigger drive would just get consumed. > > > > How can i keep the disk from filling up other than get like a half TB > > setup just to hold the ./base/* folder > > 1. Don't have two hundred gig of data. > 2. Sounds more like you don't have 200G of data and you aren't vacuuming > enough. third (but unlikely) possibility is there are various dropped tables, etc which need to be deleted but there are stale postgresql processes holding on to the fd. This would only happen following a postmaster crash or some other bizarre scenario, but i've seen it on production box. symptoms are du and df reporting different numbers. solutions is easy: reboot or stop postmaster and kill all postgresql processes (or, if you are brave, do it with dbms running and nail all processes not following postmaster, do a ps axf [on linux] to see them). merlin