Re: [APC-DEV] apc_store and apc_fetch between apache processes
[email protected] ("Iuri Chaer") Wed, 4 Mar 2009 17:39:52 -0300
| Newsgroups | php.apc.dev |
|---|---|
| Message-ID | <[email protected]> |
That is problematic with Apache running with the worker MPM and mod_fcgid. Are there plans to have an option to use named locks and one single shared memory space so that there is only one syncronized shared memory space for all PHP processes? "shire" <[email protected]> wrote in message news:[email protected]... > > Every apache httpd child process shares the APC cache, this is part of > the purpose of the user cache (to share memory amongst the apache > processes). > > Note, however, that other processes without the common parent such as the > command line scripts or another apache server started on the same machine > will *not* share the same cache, but will create it's own cache. > > -shire > > On May 20, 2008, at 3:37 AM, Andrew Lyczak wrote: > >> Is APC cache memory shared by all apache httpd child processes or does >> each httpd process have its own APC cache memory? >> >> If I call apc_add('foo','bar') from httpd child 1 >> And later call apc_fetch('foo') from httpd child 2 (a different linux >> process) >> will the apc_fetch return 'bar' ? >> >> Sorry to post this here (probably not the appropriate venue). My >> comp.lang.php newsgroup posting went unanswered, and I could not find >> any >> APC documentation which would answer this question. >> >> Andrew >> >> >> >> -- >> APC Development Mailing List (http://pecl.php.net/APC) >> To unsubscribe, visit: http://www.php.net/unsub.php >