You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/01/25 16:39:56 UTC

[Bug 62044] shared memory segments are not found in global list, but appear to exist in kernel.

https://bz.apache.org/bugzilla/show_bug.cgi?id=62044

--- Comment #1 from mark@blackmans.org ---
I believe the error arises here

https://github.com/apache/httpd/blob/2.4.29/modules/slotmem/mod_slotmem_shm.c#L408

I assume the 'file exists' error refers to the SHM key rather than the
placeholder file in the filesystem.

However, there is a defensive removal of the key *before* the create, which
makes this error very mysterious, it should be nearly impossible to fail here I
think.

apr_shm_remove(fname, gpool);
rv = apr_shm_create(&shm, size, fname, gpool);

Is there any possibility there is some latency between the removal being
effective and the create starting? Or could the remove fail silently?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org