all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix pull: cannot allocate memory
@ 2017-04-20 19:46 ng0
  2017-04-20 20:03 ` ng0
  2017-04-21 21:23 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: ng0 @ 2017-04-20 19:46 UTC (permalink / raw)
  To: guix-devel

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 # #]
 387: 14 [eval # #]
 387: 13 [eval # #]
 387: 12 [eval # #]
 411: 11 [eval # #]
In srfi/srfi-1.scm:
 573: 10 [map #<procedure f5efd50 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]
In ice-9/eval.scm:
 387: 9 [eval # #]
 411: 8 [eval # #]
 411: 7 [eval # #]
 387: 6 [eval # #]
In unknown file:
   ?: 5 [force #<promise #<procedure 37fe390 at ice-9/eval.scm:416:20 ()>>]
In ice-9/eval.scm:
 411: 4 [eval # #]
 411: 3 [eval # #]
In ice-9/r4rs.scm:
  90: 2 [dynamic-wind #<procedure f5ef990 at ice-9/eval.scm:416:20 ()> ...]
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
guix pull: error: build failed: build of `/gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv' failed
The following package will be installed:
   rxvt-unicode	9.22	/gnu/store/3475lgmchm6741k4qba2yjy7vzi3dvaj-rxvt-unicode-9.22

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 derivations will be built:
   /gnu/store/n170839mwhhmafzybwfyvzvr2715v9i6-profile.drv
   /gnu/store/vsl5cawz5rnff8vnqiv6j6rpfg51fmn9-ca-certificate-bundle.drv
   /gnu/store/r6a0llypsadsdhjg1in0hdc2gkhy3ffd-info-dir.drv
   /gnu/store/jkdfspmg0zciy7wkwi8nhzf043nw6q5h-fonts-dir.drv
   /gnu/store/5iysifiijhbspq5rs0wfvq7x0b6gpfjp-manual-database.drv
creating manual page database for 1 packages...
1 package in profile
The following environment variable definitions may be needed:
   export TERMINFO_DIRS="/home/ng0/.guix-profile/share/terminfo${TERMINFO_DIRS:+:}$TERMINFO_DIRS"

-- 
PGP and more: https://people.pragmatique.xyz/ng0/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull: cannot allocate memory
  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 21:23 ` Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: ng0 @ 2017-04-20 20:03 UTC (permalink / raw)
  To: guix-devel

ng0 transcribed 3.0K bytes:
> Is this exactly what Guile is telling me, "get more RAM / SWAP whatever"?
> 
> 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
> guix pull: error: build failed: build of `/gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv' failed

Okay, I added a swap, and this time guix pull as unprivileged user succeded.
As root I had no problems before, same before the conversion to GuixSD.

-- 
PGP and more: https://people.pragmatique.xyz/ng0/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull: cannot allocate memory
  2017-04-20 20:03 ` ng0
@ 2017-04-21 17:43   ` Leo Famulari
  2017-04-21 17:48     ` ng0
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2017-04-21 17:43 UTC (permalink / raw)
  To: guix-devel

On Thu, Apr 20, 2017 at 08:03:08PM +0000, ng0 wrote:
> ng0 transcribed 3.0K bytes:
> > Is this exactly what Guile is telling me, "get more RAM / SWAP whatever"?
> > 
> > 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
> > guix pull: error: build failed: build of `/gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv' failed
> 
> Okay, I added a swap, and this time guix pull as unprivileged user succeded.
> As root I had no problems before, same before the conversion to GuixSD.

I'm curious, how much memory does the system have?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull: cannot allocate memory
  2017-04-21 17:43   ` Leo Famulari
@ 2017-04-21 17:48     ` ng0
  0 siblings, 0 replies; 5+ messages in thread
From: ng0 @ 2017-04-21 17:48 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari transcribed 0.7K bytes:
> On Thu, Apr 20, 2017 at 08:03:08PM +0000, ng0 wrote:
> > ng0 transcribed 3.0K bytes:
> > > Is this exactly what Guile is telling me, "get more RAM / SWAP whatever"?
> > > 
> > > 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
> > > guix pull: error: build failed: build of `/gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv' failed
> > 
> > Okay, I added a swap, and this time guix pull as unprivileged user succeded.
> > As root I had no problems before, same before the conversion to GuixSD.
> 
> I'm curious, how much memory does the system have?
> 

Smallest configuration at that host, 1024MB
-- 
PGP and more: https://people.pragmatique.xyz/ng0/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull: cannot allocate memory
  2017-04-20 19:46 guix pull: cannot allocate memory ng0
  2017-04-20 20:03 ` ng0
@ 2017-04-21 21:23 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-04-21 21:23 UTC (permalink / raw)
  To: guix-devel

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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-21 21:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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.