Ian Eure <[email protected]> writes:

> I know /tmp running out of space can cause this, so I have 24gb of
> swap added:
>
>    $ free -m
>                   total        used        free      shared
>                   buff/cache   available
>    Mem:             902         197         115           0     677
>   704
>    Swap:          24191          49       24142
>
> I ran `watch -n 1 df -h' while building the image, neither / nor /tmp
> usage increases appreciably, and nothing is filling up.

Hi,

I personnaly ask the daemon to build outside of /tmp on such
hardware. For example on a foreign distro with systemd, I have a line
like this
> Environment=LC_ALL=C.UTF-8 TMPDIR=/mnt/tmp
in /usr/lib/systemd/system/guix-daemon.service

https://www.kernel.org/doc/html/latest/filesystems/tmpfs.html on sizing:
> The default is half of your physical RAM without swap. If you oversize
> your tmpfs instances the machine will deadlock since the OOM handler
> will not be able to free that memory.




Reply via email to