httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <>
Subject Re: Balancers (file based SHMs) and restart issue (Windows only?)
Date Mon, 14 Sep 2015 14:52:35 GMT
On Mon, Sep 14, 2015 at 4:42 PM, Eric Covener <> wrote:
> On Mon, Sep 14, 2015 at 10:15 AM, Yann Ylavic <> wrote:
>> So maybe we need a general ap_shm_create() wrapper usable wherever it may help?
>> At least until a new APR_SHM_DELONCLOSE flag is added to apr_shm_create_ex()?
> Sorry I was not too clear. The disk-cache issue is not SHM specific,
> just the failure-on-delete-of-open-file.

Oh I see, I guess FILE_FLAG_DELETE_ON_CLOSE is not suitable there
since files are opened/closed by different processes...
But if I read DeleteFile() doc correctly, for non-mapped files it
should work (delayed until the last handle is closed), or really
DeleteFile() is not documented correctly!

View raw message