You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Docker image build is failing in a Concourse job:
scons: *** [mongostat] No space left on device
scons: *** [mongooplog] No space left on device
scons: *** [mongotop] No space left on device
collect2: error: ld returned 1 exit status
scons: *** [build/linux2/ssl/mongo/mongofiles] Error 1
There is plenty of disk space on the worker nodes, this must be a limit imposed in Garden. Any idea on how we might increase it?
If you're using v57 or later, you will want to set the worker property garden.btrfs_store_size_mb to something like 90% of the worker's ephemeral disk usage, if you haven't already done that.
After setting that and deploying; you need to "bosh recreate worker/0" I think
On Thu, Jul 23, 2015 at 8:06 AM, Rob Dimsdale [email protected]
wrote:
If you're using v57 or later, you will want to set the worker property garden.btrfs_store_size_mb to something like 90% of the worker's ephemeral disk usage, if you haven't already done that.
Reply to this email directly or view it on GitHub: #79 (comment)
You were probably hitting the limit that used to be enforced by the Docker image resource; that should be fixed in 0.58 which removes the limit (the only enforced one then being garden.btrfs_store_size_mb).
OK, so the issue is back. I'm on v58. I've set garden.btrfs_store_size_mb to 20480 which is 20GB. Compiling MongoDB cannot require more than 20GB, surely. This is what df -h returns:
Any way to tell what the process is actually trying to do? Maybe it's running out of some other resource (e.g. shared memory). Have you observed resource usage as it's running?
Hijack works within 5 minutes of the build finishing (or however long you configure it in your deployment). There's no difference between one-offs and builds from the pipeline. The command you want to run there is fly hijack -p <pipeline-name> -j ccp-base-docker-image -n ccp-docker-image sh.
Downloading the latest fly cli fixed hijacking. I'm wondering whether it would be worth keeping the cli version in sync with the concourse release. I had v0.0.1 installed for which hijack didn't work consistently, now that I've downloaded fly cli v0.0.1 from Concourse web, it works just fine.
FWIW - because those using the binaries directly cannot set garden.btrfs_store_size_mb I think the trick here is to override the following settings with a script of your choice to set the correct size.
--baggageclaim-btrfs-bin= Path to btrfs binary (default: btrfs) [$CONCOURSE_BAGGAGECLAIM_BTRFS_BIN]
--baggageclaim-mkfs-bin= Path to mkfs.btrfs binary (default: mkfs.btrfs) [$CONCOURSE_BAGGAGECLAIM_MKFS_BIN]
Activity
robdimsdale commentedon Jul 23, 2015
If you're using v57 or later, you will want to set the worker property
garden.btrfs_store_size_mbto something like 90% of the worker's ephemeral disk usage, if you haven't already done that.concourse-bot commentedon Jul 23, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
drnic commentedon Jul 23, 2015
After setting that and deploying; you need to "bosh recreate worker/0" I think
On Thu, Jul 23, 2015 at 8:06 AM, Rob Dimsdale [email protected]
wrote:
gerhard commentedon Jul 24, 2015
We're still on v50, just about to upgrade to v58. Will give
garden.btrfs_store_size_mba try and report back. Cheers @robdimsdalevito commentedon Jul 24, 2015
You were probably hitting the limit that used to be enforced by the Docker image resource; that should be fixed in 0.58 which removes the limit (the only enforced one then being
garden.btrfs_store_size_mb).gerhard commentedon Jul 27, 2015
After the upgrade to v58, had to specify the
garden.btrfs_store_size_mbproperty & re-create the workers. So far, so good. Cheers for the input!gerhard commentedon Jul 27, 2015
OK, so the issue is back. I'm on v58. I've set
garden.btrfs_store_size_mbto 20480 which is 20GB. Compiling MongoDB cannot require more than 20GB, surely. This is whatdf -hreturns:What exactly controls the disk space that a given garden container is allowed to use?
vito commentedon Jul 27, 2015
Any way to tell what the process is actually trying to do? Maybe it's running out of some other resource (e.g. shared memory). Have you observed resource usage as it's running?
2 remaining items
gerhard commentedon Aug 2, 2015
That would be great if hijack actually worked. On v0.59.0, it works half the time with one-off builds, hardly ever with regular builds.
I don't have a build configuration to run a one-off job with fly, this is what I have in the pipeline config:
What build config should I provide to run the above job as a one-off?
vito commentedon Aug 3, 2015
Hijack works within 5 minutes of the build finishing (or however long you configure it in your deployment). There's no difference between one-offs and builds from the pipeline. The command you want to run there is
fly hijack -p <pipeline-name> -j ccp-base-docker-image -n ccp-docker-image sh.gerhard commentedon Aug 3, 2015
Downloading the latest fly cli fixed hijacking. I'm wondering whether it would be worth keeping the cli version in sync with the concourse release. I had v0.0.1 installed for which hijack didn't work consistently, now that I've downloaded fly cli v0.0.1 from Concourse web, it works just fine.
vito commentedon Aug 3, 2015
Yep right now the version reported by fly is meanlingless;
fly syncis the source of truth. We'll fix that pretty soon.gerhard commentedon Aug 3, 2015
Nice, I will remember to run that every time Concourse gets upgraded.
gerhard commentedon Aug 3, 2015
After sync-ing fly from the latest Concourse, I could troubleshoot this properly.
It turns out that compiling MongoDB 2.6.10 requires ~50GB. This made the Docker build go through:
bump fly
bump atc fly go-concourse
bump a *bunch* of dependencies
pidile007 commentedon Jan 31, 2018
i am facing disk space issue, please assist. thanks..
i am trying to backup ops manager and elastic runtime tile from our Pivotal systems.
andy-plutoflume commentedon Mar 12, 2018
FWIW - because those using the binaries directly cannot set
garden.btrfs_store_size_mbI think the trick here is to override the following settings with a script of your choice to set the correct size.bump etree tsa handlers mux clockwork goxmldsig genproto grpc