"Zack Weinberg" via Bug reports for GNU Guix <[email protected]> writes:

> I left my Guix System-based web server running for 26 days and PID 1 has
> ballooned to consume 75% of all available RAM.  Because of this, it can
> no longer fork. Which, in turn, means the system is almost but not
> quite
…
> # free
>                total        used        free      shared  buff/cache   
> available
> Mem:         2020468     1768960      103008        6472      307064      
> 251508
> Swap:        2094056      168268     1925788


You still have almost all swap free, so you should be able to start
programs (though slowly).

What I found, though, is that SSH can get into trouble when cgroups run
out (which happens quickly if you make heavy use of docker).

I regularly delete the unused cgroups then:

find /sys/fs/cgroup/ -depth -type d -name 'c*' | xargs -I {} sudo bash -c 'if 
test "$(cat {}/pids.current)" -eq 0; then echo {}; cat {}/pids.current; rmdir 
{}; fi'

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

Attachment: signature.asc
Description: PGP signature

Reply via email to