Score:0

cat /proc/pid/cmdline hangs (no cgroups, no nfs or network fs, no memory issues)

cz flag

We are a bit stumped. Once in a while ps/w hang forever (at least an hour) on our server, and it is on reading /proc/pid/cmdline for a process (happend twice today, verified with strace cat directly on cmdline). Only things that fixes it is a kill -9.

There are no containers running on the server, and no OOM conditions (actually >3TB memory free). No NFS or other network filesystems.

Running 5.19.0-1019-aws #20~22.04.1-Ubuntu SMP Thu Jan 26 11:24:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux, Ubuntu 22, its a high core-count and high memory NUMA system.

The offending processes are at S or Z states during the hang.

We read the following but it didn't help us:

ChatGPT4 is stumped to.

Any ideas? Thanks!

Ginnungagap avatar
gu flag
Do you have a process that uses `fanotify`? If it is buggy it might not process permission events properly leaving the call waiting indefinitely...
Ariel E avatar
cz flag
Thanks for you reply, no process use fanotify.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.