|
|
Subscribe / Log in / New account

Fighting the zombie-memcg invasion

Fighting the zombie-memcg invasion

Posted May 20, 2023 14:22 UTC (Sat) by dullfire (guest, #111432)
Parent article: Fighting the zombie-memcg invasion

What I'm hearing is that "things that can contains processes (which can become zombies) are liable to become zombies themselves".

Which makes me wonder if similar in-use-while-owner-dead cases can/do occur with namespaces. The classical namespace usage is highly isolated, but it doesn't have to be that way.


to post comments

Fighting the zombie-memcg invasion

Posted May 22, 2023 21:15 UTC (Mon) by jengelh (guest, #33263) [Link]

Bind-mounting a namespace extends its life beyond the original owner. (touch /blah && mount /proc/12345/ns/uts /blah --bind) This would then only get cleaned once the bindmount goes away - which may be "practically never", just like the tmpfs file case mentioned in the article.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds