Re: postgres out of disk space

Matthias Ender <Matthias.Ender@...>

thank you all!
I’m indeed running v212.
Deleting /var/vcap/store/shared/
did the trick.

From: CF Runtime [mailto:cfruntime(a)]
Sent: Friday, September 25, 2015 6:47 PM
To: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)>
Subject: [cf-dev] Re: Re: Re: postgres out of disk space
Importance: High

cf-release v213 fixed a bug where buildpack caches were not getting cleaned up properly. Are you running a version prior to 213?

If so, you might need to go into the `shared/` directory and delete the `buildpack_cache` subdirectory. Deleting the contents of buildpack_cache will not cause failures in the system, the caches will simply get generated from scratch the next time apps stage.

If you upgrade to 213 or later, you can just call the api endpoint to clean out the buildpack cache. You can find the details in the v213 release notes:

Joseph & Natalie
CF Release Integration Team

On Fri, Sep 25, 2015 at 11:53 AM, Matthias Ender <Matthias.Ender(a)<mailto:Matthias.Ender(a)>> wrote:
ah, it’s not postgres:

90M postgres

it’s actually:

94G shared/

Does it keep a copy of each artifact ever pushed?
Or is this part of the event storage, controlled by these properties:

cutoff_age_in_days: 31
cutoff_age_in_days: 31
cutoff_age_in_days: 31


From: Aleksey Zalesov [mailto:aleksey.zalesov(a)<mailto:aleksey.zalesov(a)>]
Sent: Friday, September 25, 2015 12:23 PM
To: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)<mailto:cf-dev(a)>>
Subject: [cf-dev] Re: postgres out of disk space

Does your database occupy this 100 GB? Or something else like logs?

Aleksey Zalesov | CloudFoundry Engineer | Altoros
Tel: (617) 841-2121 ext. 5707<tel:%28617%29%20841-2121%20ext.%205707> | Toll free: 855-ALTOROS
Fax: (866) 201-3646<tel:%28866%29%20201-3646> | Skype: aleksey_zalesov<> |<> |<>

On 25 Sep 2015, at 14:22, Matthias Ender <Matthias.Ender(a)<mailto:Matthias.Ender(a)>> wrote:

I have a cf-aws-tiny cf-boshrelease deployment, and it’s been running well for over 4 months.
We have about 40 apps, with a couple of dozen of cf pushes each day.
Yesterday pushing apps became spotty and then impossible, with various errors.
Turned out the 100GB disk for the postgres instance on the data note was full.
I increased the disk size and things a running again.
But – what happened there? 100G and growing seems like awfully large database for a rather modest use.
And I’m worried it’ll just happen again in a few months.


Join to automatically receive all group messages.