Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

cannot allocate memory error during build #19

Closed
dave-tucker opened this issue May 4, 2017 · 5 comments
Closed

cannot allocate memory error during build #19

dave-tucker opened this issue May 4, 2017 · 5 comments

Comments

@dave-tucker
Copy link
Contributor

dave-tucker commented May 4, 2017

A moby build test/test-ltp.yml from the linuxkit/linuxkit sometimes fails with:

Failed to create config.json for linuxkit/poweroff:961412b8ef5c5285de0d40ec076701d955eaa084: fork/exec /usr/bin/docker: cannot allocate memory`

It's not easy to reproduce and but has been seen a few times locally on Docker for Mac (edge) and also on our LinuxKitCI system

@justincormack
Copy link
Collaborator

Hmm, most of the forking of docker has gone away although there was one that is now reverted. I am also replacing it with containerd for most uses too, which will definitely fix this...

@justincormack
Copy link
Collaborator

Is this still happening?

@dave-tucker
Copy link
Contributor Author

I think @rneugeba still saw some this happen when building the LTP tests with < 3.75 GB RAM allocated

@rn
Copy link
Member

rn commented May 18, 2017

that was on GCP in a Debian VM and with some sysctls not set. That was fixed. You saw this on DfM, by the looks of it, which is different..

@justincormack
Copy link
Collaborator

Not reported since then, so closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants