Anatol committed a better fix. It falls back to file-cache in case of
failure, and maps just a small portion of SHM for synchronization between
processes.
In general, extending this approach, we may map the whole SHM segment into
different address space and implement routines to find/load data from
ski
> > Cc: Dmitry Stogov ; Pierre Joye ;
> > Laruence ; PHP Internals ;
> > dmi...@php.net
> > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> >
> > I have a patch for the IPC mechanism we talked about (to avoid
> consistency
> > problems) and to allo
Joye ;
> > Laruence ; PHP Internals ;
> > dmi...@php.net
> > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> >
> > I have a patch for the IPC mechanism we talked about (to avoid
> consistency
> > problems) and to allocate the side-step OpCache on process's pr
; wrote:
>
>> Hi Matt,
>>
>> > -Original Message-
>> > From: Matt Ficken [mailto:themattfic...@gmail.com]
>> > Sent: Wednesday, October 7, 2015 12:18 PM
>> > To: Anatol Belski
>> > Cc: Dmitry Stogov ; Pierre Joye > >;
>>
2015-10-08 10:33 GMT+02:00 Dmitry Stogov :
> few notes:
> - are you sure SysV IPC API is available everywhere? I mean shmget()
> in file_cache_fallback_init().
> (I didn't know about Windows).
Yes the SysV IPC API is available under Windows, because we have our
own implementation in TSRM/, more sp
>
> > -Original Message-
> > From: Dmitry Stogov [mailto:dmi...@zend.com]
> > Sent: Tuesday, October 6, 2015 10:01 AM
> > To: Anatol Belski
> > Cc: Matt Ficken ; Pierre Joye
> > ; Laruence ; PHP Internals
> > ; dmi...@php.net
> > Subject: R
Hi Matt,
> -Original Message-
> From: Matt Ficken [mailto:themattfic...@gmail.com]
> Sent: Wednesday, October 7, 2015 12:18 PM
> To: Anatol Belski
> Cc: Dmitry Stogov ; Pierre Joye ;
> Laruence ; PHP Internals ;
> dmi...@php.net
> Subject: Re: [PHP-DEV] Re: Window
Hi Dmitry,
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Tuesday, October 6, 2015 10:01 AM
> To: Anatol Belski
> Cc: Matt Ficken ; Pierre Joye
> ; Laruence ; PHP Internals
> ; dmi...@php.net
> Subject: Re: [PHP-DEV] Re: Windows OpC
> > Sent: Tuesday, October 6, 2015 10:01 AM
> > To: Anatol Belski
> > Cc: Matt Ficken ; Pierre Joye
> > ; Laruence ; PHP Internals
> > ; dmi...@php.net
> > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> >
> > On Mon, Oct 5, 2015 at 6:
Hi Dmitry,
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Tuesday, October 6, 2015 10:01 AM
> To: Anatol Belski
> Cc: Matt Ficken ; Pierre Joye
> ; Laruence ; PHP Internals
> ; dmi...@php.net
> Subject: Re: [PHP-DEV] Re: Windows OpC
uence ; PHP Internals
> > ; dmi...@php.net
> > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> >
> > > > > > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> > > > > >
> > > > > > > Dmitry, I'd have a question to thi
Hi Eric,
On Mon, Oct 5, 2015 at 9:49 PM, Eric Stenson wrote:
> >From: Dmitry Stogov [mailto:dmi...@zend.com]
> >
> >> On Thu, Oct 1, 2015 at 11:54 AM, Matt Ficken
> >> wrote:
> >>
> >>> Pierre Joy wrote:
> >>> And what wincache does. It is slower but the request is served.
> >>
> >> WinCache (
On Tue, Oct 6, 2015 at 9:27 AM, Matt Ficken wrote:
> Ultimately if the 2nd OpCache is shared in a new SHM, in-process in a new
> SHM or in-process Heap, memory will increase, scripts have to be recompiled
> and there are consistency issues. File-cache will avoid recompiling
> scripts, but unless
Ultimately if the 2nd OpCache is shared in a new SHM, in-process in a new
SHM or in-process Heap, memory will increase, scripts have to be recompiled
and there are consistency issues. File-cache will avoid recompiling
scripts, but unless OpCache is disabled, there needs to be a 2nd OpCache
stored s
>From: Dmitry Stogov [mailto:dmi...@zend.com]
>
>> On Thu, Oct 1, 2015 at 11:54 AM, Matt Ficken
>> wrote:
>>
>>> Pierre Joy wrote:
>>> And what wincache does. It is slower but the request is served.
>>
>> WinCache (file cache) if it can't reattach, creates a new shared mem
>> file
>
> I'm not su
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Monday, October 5, 2015 3:31 PM
> To: Anatol Belski
> Cc: Matt Ficken ; Pierre Joye
> ; Laruence ; PHP Internals
> ; dmi...@php.net
> Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
uence ; PHP Internals
> > ; dmi...@php.net
> > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> >
> > On Mon, Oct 5, 2015 at 10:29 AM, Anatol Belski
> > wrote:
> >
> > > Hi Dmitry,
> > >
> > > > -Original Message-
> > > &
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Monday, October 5, 2015 1:08 PM
> To: Anatol Belski
> Cc: Matt Ficken ; Pierre Joye
> ; Laruence ; PHP Internals
> ; dmi...@php.net
> Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
gt; ; Anatoliy Belsky ; Laruence
> > ; PHP Internals ;
> dmi...@php.net
> > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> >
> > > Dmitry, I'd have a question to this
> > > > Also. if we can't map SHM into desired address space, we may map
Hi Dmitry,
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Friday, October 2, 2015 9:34 AM
> To: Anatol Belski
> Cc: Matt Ficken ; Pierre Joye
> ; Anatoliy Belsky ; Laruence
> ; PHP Internals ; dmi...@php.net
> Subject: Re: [PHP-DEV]
t; > Laruence ; PHP Internals ;
> > dmi...@php.net
> > Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
> >
> > On Thu, Oct 1, 2015 at 11:54 AM, Matt Ficken
> > wrote:
> >
> > >
> > >> And what wincache does. It is slower but the request i
Hi,
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Thursday, October 1, 2015 12:20 PM
> To: Matt Ficken
> Cc: Pierre Joye ; Anatoliy Belsky ;
> Laruence ; PHP Internals ;
> dmi...@php.net
> Subject: Re: [PHP-DEV] Re: Windows OpCache bu
On Thu, Oct 1, 2015 at 11:54 AM, Matt Ficken
wrote:
>
>> And what wincache does. It is slower but the request is served.
>>
>>
>> WinCache (file cache) if it can't reattach, creates a new shared mem file
> for just that process: see
> http://svn.php.net/viewvc/pecl/wincache/trunk/wincache_filemap
>
>
> And what wincache does. It is slower but the request is served.
>
>
> WinCache (file cache) if it can't reattach, creates a new shared mem file
for just that process: see
http://svn.php.net/viewvc/pecl/wincache/trunk/wincache_filemap.c?revision=336846&view=markup
Line 1122.
Yes, ideally it w
On Oct 1, 2015 3:59 AM, "Dmitry Stogov" wrote:
>
> Hi Matt,
>
> Thanks for looking into the problem, but I afraid that the proposed
> solution won't solve the problem completely, but may introduce new
> problems. At first, we might to reserve N times more memory. Then
different
> SHM segments migh
25 matches
Mail list logo