On Wed, Apr 28, 2021 at 7:58 PM Kai Peter <k...@lists.qware.org> wrote:

> Hi,
>
> I have an issue with a machine where I'm not able to detect the real
> root cause. It hangs up totally. It seems like it was running out of
> memory - but why? Hopefully somebody can give me some insight. As far I
> can see right now, it hangs up a few hours after an `emerge --update
> --newuse --deep --with-bdeps=y @world`.
>
> The machine is an Intel Atom with 8 GB RAM (physical, max) and 24 GB
> swap (a file). So 32 GB RAM in total.
>

Might be worth adding zswap using zstd or lz4 to your config (uses more CPU
for less IO)
https://www.kernel.org/doc/html/latest/vm/zswap.html

If you want to see which processes are using the most memory, run top then
type 'M' to have top sort by memory instead of CPU. You can also type 'm'
to make top show the memory numbers as an ascii bar graph. The man page
explains what VIRT RES SHR mean.

Reply via email to