As far as I understand, even with possibly reserved system memory as it may exceed it may involve system crash, so there is no user process to blame. Can double reserved system memory to reduce the risk and figure out what user process was possibly unexpectedly behaving.
<details>
<summary>Would help:</summary>
```
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdA6PfZqqR0hAz2rgsVX9NJbqKOQTF/oDJzlm8kyOH7/S8w
Ao1O4ph/jBjVI5ApZgoKVteUeh4v4pAPxeBWyqc9UgV33r6J/hZbkjtrZMkI5WIr
1LcBCQIQC7tLFfVx8TXZk26td7HbDm/yJzi9DFHSPNnuzeXEYwQzzDeuVyTMrBlD
vgbGDGQfKUg+0lyGgSx/dJtnH67RMlrdybYPkc8UA8TWeeh+BOsDp9+Z13AwSwM5
xdHWt97sxgXTRE0AGDuahz05+vpcLNfFh3Q14TWa6Nm4I3yEYF9a1jCa8cDpnyVf
c5qkfXOxDgZdKhfFId8sdRi7rKM826TKhafzibIZKQixAEAiw42X3Rg=
=TgKU
-----END PGP MESSAGE-----
```
</details>
As far as I understand, even with possibly reserved system memory as it may exceed it may involve system crash, so there is no user process to blame. Can double reserved system memory to reduce the risk and figure out what user process was possibly unexpectedly behaving.
On my Linux Mint 22.3 Cinnamon Framework 13 Virtual Machine Manager Linux Mint (trust) virtual machine with 15.6 GB of RAM and 1.83 GB of swap.
head -c 30G /dev/zero | pv | tail | sleep 60
15,7GiB 0:00:27 [ 578MiB/s] [ <=> ]
hangs while htop does not show consumption contrarily to above.
On my Linux Mint 22.3 Cinnamon Framework 13 Virtual Machine Manager *Linux Mint (trust)* virtual machine with 15.6 GB of RAM and 1.83 GB of swap.
```bash
head -c 30G /dev/zero | pv | tail | sleep 60
```
```
15,7GiB 0:00:27 [ 578MiB/s] [ <=> ]
```
hangs while `htop` does not show consumption contrarily to above.
Before investigating security, should verify this witness behavior on the considered computer.
[https://pim.etesync.lemnoslife.com/pim/events/OQi24uZ0O6onZ1B66Ba16CZEpDCY35-G|rSmlIgFJdljz0Kd2jZUg3dspQfclImv0](https://pim.etesync.lemnoslife.com/pim/events/OQi24uZ0O6onZ1B66Ba16CZEpDCY35-G%7CrSmlIgFJdljz0Kd2jZUg3dspQfclImv0)
the OOM killer struggles figuring out which process takes too much memory and emits tens of thousands to journald which makes it crash. So he plans on setting RAM limit by user like 64 GB (which is too low for some of my usage as well as for some other persons as far as I know, I told him), which should limit the issue.
<details>
<summary>According to the person:</summary>
```
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdA9VdsP3CC0bBEJI77it60Z0rOa0i37H7znPH2yyQD/Qww
iZYkUOR21uwGyJwWEhlD/ZkW52tkIrG7V6NWF4J9bh4H3rcHFdNrAVTt2XucFJot
0kEBhS0vbVqRu8qu04ooucnXNqxezT/P+2VVF2571lhqobWta4JHKpfwgjIIxIqc
tQAdhSa1Y5h6pKSGqf9qV+HytA==
=Wrpj
-----END PGP MESSAGE-----
```
</details>
the OOM killer struggles figuring out which process takes too much memory and emits tens of thousands to journald which makes it crash. So he plans on setting RAM limit by user like 64 GB (which is too low for some of my usage as well as for some other persons as far as I know, I told him), which should limit the issue.
<details>
<summary>He implemented such a rule, see his message:</summary>
```
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdANVK+xLwg1UxLOKwA0m/+geMusjUPTjibBk4aKkZcZxQw
LgLRUePFXnTetnSiZempEfQXHvqLcCRxDU9a3GsAtZhG3WGlnx7Ugw+PznIG5cgi
0q0BlsCDlmJ00hQ9dmPjKoLgSV71UclKArxtoxvOTY00drwNslcd+y6Clhr1Pnth
yeOIMsZgsBXK6oSG0tqfTAwNMP3921Uq68xQwAOkSM6MsdqcEZS7L1hTjt5i/3hL
e4FB+981Eif2O2O1f82mNrSMo32y4k4YCDsmO7xxiiAWyLdIJTrkrM9bdActuYju
wqOBP/G2WPj4szh84tQuRKn7aHFiXfv+FcAIQ7neGw==
=y6fh
-----END PGP MESSAGE-----
```
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Would help:
As far as I understand, even with possibly reserved system memory as it may exceed it may involve system crash, so there is no user process to blame. Can double reserved system memory to reduce the risk and figure out what user process was possibly unexpectedly behaving.
I involved this issue this time:
DuckDuckGo and Google search Linux command to claim memory, Linux command to book memory and Linux command to allocate memory.
The Unix Stack Exchange answer 254976:
On my Linux Mint 22.3 Cinnamon Framework 13 Virtual Machine Manager Linux Mint (trust) virtual machine with 15.6 GB of RAM and 1.83 GB of swap.
hangs while
htopdoes not show consumption contrarily to above.Output:
as wanted.
Before investigating security, should verify this witness behavior on the considered computer.
https://pim.etesync.lemnoslife.com/pim/events/OQi24uZ0O6onZ1B66Ba16CZEpDCY35-G|rSmlIgFJdljz0Kd2jZUg3dspQfclImv0
According to the person:
the OOM killer struggles figuring out which process takes too much memory and emits tens of thousands to journald which makes it crash. So he plans on setting RAM limit by user like 64 GB (which is too low for some of my usage as well as for some other persons as far as I know, I told him), which should limit the issue.
He implemented such a rule, see his message: