On Sat, 06 Feb 2021 01:43:09 +0000, Chris Narkiewicz wrote:

> When I check ipcs, I see a lot of shm segments:
>
> # ipcs | grep _x11 | grep wc -l
> 137
>
> Both processes are dead at this stage, so I'm not sure why those shm
> segments are not collected?

This is expected behavior.  Shared memory segments are not garbage
collected when a process exits (or when the last reference to them
is removed).  They need to be explicitly removed, either by one of
the processes that is using them or manually using ipcrm(1).

 - todd

Reply via email to