all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guix-devel@gnu.org
Subject: Re: guix pull: cannot allocate memory
Date: Fri, 21 Apr 2017 23:23:17 +0200	[thread overview]
Message-ID: <878tmta20q.fsf@gnu.org> (raw)
In-Reply-To: <20170420194652.uidkalv2dejkodzw@abyayala> (ng0's message of "Thu, 20 Apr 2017 19:46:52 +0000")

ng0 <contact.ng0@cryptolab.net> skribis:

> Is this exactly what Guile is telling me, "get more RAM / SWAP whatever"?
>
> ng0@sharknado9001:~$ guix pull; guix package -i rxvt-unicode
>
> Starting download of /tmp/guix-file.O9FRJW
> From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
>  ….tar.gz                                   981KiB/s 00:14 | 13.0MiB transferred
> unpacking '/gnu/store/lqpb6cppk3h65q5y29dxrj060idqj60b-guix-latest.tar.gz'...
> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivation will be built:
>    /gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv
> building path(s) `/gnu/store/5x386gcp93f3ms33s60d7q1ijmnllbml-guix-latest'
> copying and compiling to '/gnu/store/5x386gcp93f3ms33s60d7q1ijmnllbml-guix-latest'...
> loading...	 24.5% of 587 filesrandom seed for tests: 1492717246
> loading...	 98.8% of 587 filesBacktrace:
> In unknown file:
>    ?: 19 [primitive-load-path "gnu/tests/install" ...]
> In ice-9/eval.scm:
>  453: 18 [eval # ()]
>  411: 17 [eval # #]
>  387: 16 [eval # #]
>  373: 15 [run-install # #]

[...]

> In ice-9/popen.scm:
>   64: 1 [open-pipe* "r" "git" "ls-files"]
> In unknown file:
>    ?: 0 [open-process "r" "git" "ls-files"]
>
> ERROR: In procedure open-process:
> ERROR: In procedure open-process: Cannot allocate memory
> builder for `/gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv' failed with exit code 1

I think it’s fork(2) returning ENOMEM.  Perhaps ‘dmesg’ would show more
details?  It could be that there were too many processes running or
something along these lines.

It’s “interesting” to see that we try to spawn Git while evaluating the
top level of (gnu tests install), I had never thought about it.  Not
great.

Ludo’.

      parent reply	other threads:[~2017-04-21 21:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-20 19:46 guix pull: cannot allocate memory ng0
2017-04-20 20:03 ` ng0
2017-04-21 17:43   ` Leo Famulari
2017-04-21 17:48     ` ng0
2017-04-21 21:23 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tmta20q.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.