Figure out process involved in out of memory (OOM) #95

Open
opened 2026-03-20 15:40:23 +01:00 by Benjamin_Loison · 5 comments
Owner
Would help:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdA6PfZqqR0hAz2rgsVX9NJbqKOQTF/oDJzlm8kyOH7/S8w
Ao1O4ph/jBjVI5ApZgoKVteUeh4v4pAPxeBWyqc9UgV33r6J/hZbkjtrZMkI5WIr
1LcBCQIQC7tLFfVx8TXZk26td7HbDm/yJzi9DFHSPNnuzeXEYwQzzDeuVyTMrBlD
vgbGDGQfKUg+0lyGgSx/dJtnH67RMlrdybYPkc8UA8TWeeh+BOsDp9+Z13AwSwM5
xdHWt97sxgXTRE0AGDuahz05+vpcLNfFh3Q14TWa6Nm4I3yEYF9a1jCa8cDpnyVf
c5qkfXOxDgZdKhfFId8sdRi7rKM826TKhafzibIZKQixAEAiw42X3Rg=
=TgKU
-----END PGP MESSAGE-----

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.
Author
Owner
I involved this issue this time:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAgZPRwG8ZM2BkLUGeiSDnOzXZpr0akVSzEpVcnTf9HGsw
XAWPKyd7Vwsu7HT/BfI5u0JRUm9VSw1U/h6FmZyb/lYH5dxbAjEfZQ06K3CggfTw
1LcBCQIQjRUnwG/N6J1ch8lFzyPxfZD9QtJ6oUDKL8ir6oF4hiM59xiNrnYDKgRw
qVcaTosr075Sk2nM6ORc/ilwO7kBddB8wZeSMQnU2gurqS9ITrgL2WFzCRmt9PgZ
dxKQ9w1kCtYm888/7K1IilVjJqIM0PR6L4acAs1SNYxo4lt5gm7833cs2Gvp9Ci3
ifzbspEhV0CjOWmU9+3TvjFLR4YHfpYCYNCEY5aJhOoGpVZGYoOzigo=
=PL4L
-----END PGP MESSAGE-----
<details> <summary>I involved this issue this time:</summary> ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAgZPRwG8ZM2BkLUGeiSDnOzXZpr0akVSzEpVcnTf9HGsw XAWPKyd7Vwsu7HT/BfI5u0JRUm9VSw1U/h6FmZyb/lYH5dxbAjEfZQ06K3CggfTw 1LcBCQIQjRUnwG/N6J1ch8lFzyPxfZD9QtJ6oUDKL8ir6oF4hiM59xiNrnYDKgRw qVcaTosr075Sk2nM6ORc/ilwO7kBddB8wZeSMQnU2gurqS9ITrgL2WFzCRmt9PgZ dxKQ9w1kCtYm888/7K1IilVjJqIM0PR6L4acAs1SNYxo4lt5gm7833cs2Gvp9Ci3 ifzbspEhV0CjOWmU9+3TvjFLR4YHfpYCYNCEY5aJhOoGpVZGYoOzigo= =PL4L -----END PGP MESSAGE----- ``` </details>
Author
Owner

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:

head -c 5G /dev/zero | pv | tail | sleep 60
5,00GiB 0:00:03 [1,28GiB/s] [  <=>                           ]
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](https://unix.stackexchange.com/a/254976): ```bash head -c 5G /dev/zero | pv | tail | sleep 60 ``` ``` 5,00GiB 0:00:03 [1,28GiB/s] [ <=> ] ```
Author
Owner

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.
Author
Owner
head -c 30G /dev/zero | pv | tail
Output:
15,7GiB 0:00:18 [ 873MiB/s] [           <=>                  ]
Killed

as wanted.

```bash head -c 30G /dev/zero | pv | tail ``` <details> <summary>Output:</summary> ``` 15,7GiB 0:00:18 [ 873MiB/s] [ <=> ] Killed ``` </details> as wanted.
Author
Owner

Before investigating security, should verify this witness behavior on the considered computer.

https://pim.etesync.lemnoslife.com/pim/events/OQi24uZ0O6onZ1B66Ba16CZEpDCY35-G|rSmlIgFJdljz0Kd2jZUg3dspQfclImv0

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)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/linux#95