GNU bug report logs - #48178
Out of memory error when generating a docker-image.

Previous Next

Package: guix;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Sun, 2 May 2021 22:10:01 UTC

Severity: normal

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: Out of memory error when generating a docker-image.
Date: Mon, 03 May 2021 00:09:36 +0200
[Message part 1 (text/plain, inline)]
Dear Guix,

While generating a docker-image that contains only a sshd service, an
nginx service, and an iptables service, it seems the VM that is spawned
to generate a docker image was allocated too little memory.  I attached
the log file.

Looking at 'guix/scripts/system.scm', it seems that we always pass 256M
of memory to the VM.  After bumping that to 4096M, I was able to
produce a docker image.

I'd like to see what we can do here.  Assigning too little memory leads
to problems generating the container, but assigning too much memory wil
l cause problems for computing machines that don't have much memory to
spare.

Would it be a good idea to make it configurable at run-time?

Kind regards,
Roel Janssen

[guix-docker-image.log (text/x-log, attachment)]

This bug report was last modified 4 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.