Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UBSNu-0007UT-Gl for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Mar 2013 16:00:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UBSNt-0005sX-Sn for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Mar 2013 16:00:33 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UBSNt-0005sS-3b for pgsql-bugs@postgresql.org; Fri, 01 Mar 2013 16:00:33 +0000 Received: from nm9-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.154]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UBSNr-0008Km-2p for pgsql-bugs@postgresql.org; Fri, 01 Mar 2013 16:00:32 +0000 Received: from [98.139.212.150] by nm9.bullet.mail.bf1.yahoo.com with NNFMP; 01 Mar 2013 16:00:30 -0000 Received: from [98.139.212.224] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 01 Mar 2013 16:00:30 -0000 Received: from [127.0.0.1] by omp1033.mail.bf1.yahoo.com with NNFMP; 01 Mar 2013 16:00:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 367498.22095.bm@omp1033.mail.bf1.yahoo.com Received: (qmail 66710 invoked by uid 60001); 1 Mar 2013 16:00:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1362153630; bh=+HtBOjdB+/8VJtvqKVJK/obJR0jI+bERE6ijCcUxTu8=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tyKv9uMwV9ioLNhPQVQDs6+HwETKpUuuDXscreGuJXxC/rJ8Klj42UhCz22dFw7iiYHNKppS6BcvbsPIX+f1609FFomJTks0lS7WTGGe8Juhol8Cnb7K8NIg0yfBIm3XLDhNJw46WrO92PsmKcAw0Ne/xgDFGjGzPQSUwiUgIM8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Yi+x9Kv9lYK0u6gfcyrywgIae83RFy9YbZ0EvVyBbUChRG1PIK7RXUuBm2PXk27nt6zRHG9+LpA2FwS01bnrrbJKqFRPxgy64d4mz4eABcoRM9YZCzRpdi+6xExddR7vSFHRj13nf9o8FSR6JpfqX9rgQIvk0MWu3CQQhM/OrRc=; X-YMail-OSG: OOrZ94YVM1nvVGhCRUYjpYZt7ayOApiK7TyqlCvyMCb0HM1 zc3v.RR7RYocgnOvtXa.ovDbcYnyD.d3ExoRW2qiMxzsSnqdQO.gQc36wHPs vlnXSrP3g57Zut9QrYmwlGgoVLnln9CBwZsvLvOraZ6YlytwKwdkHADlOiYG LnIEQjElWeD6BU5a3F7K2lKZJ7Y4ZbwyYBX90mUNxmnOTukHYcN45_IKApT1 otEoxE7UgoH9uq8rjWTxnmBzsK_b58cBu5xTYbYL5ynctRWkB3ieBBA32onM UM6yAyNv_hGUK0tdy_Tdl9VhDWdiF0ttkZm1hnxURvMuH6SulecyVKZ7DMW1 fnw9GiS7I9jhYnh_f_wmS3ADuaEZPo1GSB5YqN0V7GsHPbCD1GpPOKtNgDTS jzuwrOijRvnwhcfgQ8PcxCSqoP0NLH.WL3J2dVr3aKQd6ZimsGHu1olEIHYc l.R.wHUukrq2Mpq4wCO3RfPY_LM0OY2r1QBkkF7fv3UwzifDhoPaho8_OhO6 rM9wYPJ5O8RBi33ZEYVVB.8WXIkQPdE_iBvXzR5qGQQyWu4S7C29WwxYYVsh 68CVphOzSTXdcMQUgwcIyriVbSGow.p6hZlkYooUD Received: from [76.255.18.237] by web162902.mail.bf1.yahoo.com via HTTP; Fri, 01 Mar 2013 08:00:30 PST X-Rocket-MIMEInfo: 001.001, ImZidXJnZXNzQHJhZGlhbnRibHVlLmNvbSIgPGZidXJnZXNzQHJhZGlhbnRibHVlLmNvbT4gd3JvdGU6Cgo.IFdlIGRpZCB1c2UgcGdfdXBncmFkZSB3aXRoIHRoZSBoYXJkIGxpbmsgb3B0aW9uLiBXZSBhcmUgbm90IHN1cmUKPiBpZiB3ZSByYW4gdGhlIGNsZWFudXAgc2NyaXB0LgoKPiBDYW4gd2UgcnVuIHRoaXMgc2NyaXB0IG5vdywgZXZlbiB0aG91Z2ggaXRzIG1vbnRoJ3MgYWZ0ZXIgd2UgZGlkCj4gdGhlIHVwZ3JhZGU_Cgo.IEV2ZXJ5dGhpbmcgaW4gdGhlIC4uLi8xOTE3NyBkaXJlY3RvcmllcyByZXABMAEBAQE- X-Mailer: YahooMailWebService/0.8.135.514 References: <20130301082031.5a830134ae84016b0174832fdc1a3173.c8e37496f5.wbe@email11.secureserver.net> Message-ID: <1362153630.65740.YahooMailNeo@web162902.mail.bf1.yahoo.com> Date: Fri, 1 Mar 2013 08:00:30 -0800 (PST) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space. To: "fburgess@radiantblue.com" , Andres Freund Cc: "pgsql-bugs@postgresql.org" In-Reply-To: <20130301082031.5a830134ae84016b0174832fdc1a3173.c8e37496f5.wbe@email11.secureserver.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "fburgess@radiantblue.com" wrote: > We did use pg_upgrade with the hard link option. We are not sure > if we ran the cleanup script. > Can we run this script now, even though its month's after we did > the upgrade? > Everything in the .../19177 directories represent data files > migrated over form postgres 8.4.3.=A0 All new files get placed into > the .../PG_9.1_201105231/16411 directories. > The vast majority of the "orphan" files are from the > /opt/PostgreSQL/9.1/data/user_data/19177=A0 directory. I don't have any reason to expect that you *can't* run the script at this point; but being a cautious person, I would do this at a point where I was confident I could recover from a backup, and I would read through the scripts carefully before applying them. What you want to be really careful that you *don't* do is to modify or truncate any of the hard-linked files, as they are quite likely to still be just another name for the same file that is in use for production under the newer version.=A0 You want to simply remove the older directory entry pointing to the file. http://www.linfo.org/hard_link.html --=20 Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs