httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Plüm, Rüdiger, Vodafone Group <ruediger.pl...@vodafone.com>
Subject RE: Balancers (file based SHMs) and restart issue (Windows only?)
Date Wed, 02 Sep 2015 10:54:13 GMT


> -----Original Message-----
> From: Yann Ylavic [mailto:ylavic.dev@gmail.com]
> Sent: Mittwoch, 2. September 2015 12:14
> To: dev@httpd.apache.org
> Subject: Re: Balancers (file based SHMs) and restart issue (Windows only?)
> 
> On Wed, Sep 2, 2015 at 11:48 AM, Plüm, Rüdiger, Vodafone Group
> <ruediger.pluem@vodafone.com> wrote:
> >
> > From: Yann Ylavic [mailto:ylavic.dev@gmail.com]
> >>
> >> BTW, even on Unixes there is a race on these files between the main
> >> process and the children, or the children themselves from different
> >> "generation".
> >
> > Really? I would think that these are files with the same name but
> different inodes and hence different.
> 
> Yes, but I was thinking of eg. an old-generation child removing the
> file between shm_create (post_config's slotmem_create) and shm_attach
> (child_init's slotmem_attach) from the new-generation.

Ahh, ok. Good point. This could happen.

Regards

Rüdiger
Mime
View raw message