|
||||||||||||||
|
New in This Group Caching file_get_contents output inside APC (Performance improvement).10/26/2009 8:36:45 PM atomaticity/thread safeness of apc shared memory functions + mutexes12/24/2008 10:45:23 PM my_log vs. zend_error7/2/2008 9:55:28 PM RFC: APCIterator class6/29/2008 6:33:36 PM apc_store and apc_fetch between apache processes5/20/2008 10:37:06 AM apc_delete_file() ?5/14/2008 3:39:31 PM Compile error4/29/2007 4:52:57 PM APC showing wrong pages3/18/2007 1:41:55 PM Apc path canonicalization patch3/16/2007 6:41:28 AM 3.0.13 Released2/24/2007 11:27:33 PM |
APC showing wrong pages
|
|||||||||||||
| Group: php.apc.dev |
Subscribe
|
Posted:3/18/2007 1:41:55 PM | Replies:0 | Views:13 | Items(0) |
|
------=_Part_12570_21496387.1174225315035
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I noticed APC returning the cached values of the wrong pages. I'd bring up x.php in my browser and see (apparently cached) content from y.php, then reload again and see the (correct) content from x.php. Is this a known problem? Is the current version of APC recommended for prod environments? Thanks, --Craig Version info: - APC 3.0.13 - Apache/2.0.55 (Ubuntu) - PHP/5.1.2 ------=_Part_12570_21496387.1174225315035-- |
cr...@memorizable.org ("Craig Muth") 3/18/2007 1:41:55 PM |
|
Craig Muth wrote:
> I noticed APC returning the cached values of the wrong pages. I'd bring up > x.php in my browser and see (apparently cached) content from y.php, then > reload again and see the (correct) content from x.php. I've never seen this happen myself - so if you have a decent enough testcase, I'll be able to poke around it. Some of the common issues happen with cvs/svn based sites which munge mtime to make a file look older, eventhough it has been rewritten to disk - BSD has known issues with that, but I assumed linux was immune to it. So, if you are using something other than ext3, that would be useful information to know. On the other hand, you can also put printfs in apc_cache.c in a couple of places (wherever slot->key.* is compared to key.*) to get some debug info out of it. > Is this a known problem? Is the current version of APC recommended for > prod environments? No, this isn't a known problem. And there are a couple of fixes in APC HEAD which are sort of good/necessary to run APC 3.0.13 in production. See the patches marked in http://pecl.php.net/bugs/bug.php?id=10314 Cheers, Gopal -- The difference between insanity and genius is measured by success |
gop...@yahoo-inc.com (Gopal V) 3/20/2007 2:20:02 AM |
|
There is this open bug: http://pecl.php.net/bugs/bug.php?id=9969, but we haven't received feedback on it. You may want to try the ctime option in the latest release to see if it corrects your problem, if so the files are probably getting backdated/updated in some way that should possibly be corrected depending on your configuration/setup. -shire On Mar 19, 2007, at 7:20 PM, Gopal V wrote: > Craig Muth wrote: >> I noticed APC returning the cached values of the wrong pages. I'd >> bring up >> x.php in my browser and see (apparently cached) content from >> y.php, then >> reload again and see the (correct) content from x.php. > > I've never seen this happen myself - so if you have a decent enough > testcase, I'll be able to poke around it. > > Some of the common issues happen with cvs/svn based sites which munge > mtime to make a file look older, eventhough it has been rewritten to > disk - BSD has known issues with that, but I assumed linux was immune > to it. So, if you are using something other than ext3, that would be > useful information to know. > > On the other hand, you can also put printfs in apc_cache.c in a couple > of places (wherever slot->key.* is compared to key.*) to get some > debug info out of it. > >> Is this a known problem? Is the current version of APC >> recommended for prod environments? > > No, this isn't a known problem. And there are a couple of fixes in APC > HEAD which are sort of good/necessary to run APC 3.0.13 in production. > See the patches marked in > > http://pecl.php.net/bugs/bug.php?id=10314 > > Cheers, > Gopal > -- > The difference between insanity and genius is measured by success > > -- > APC Development Mailing List (http://pecl.php.net/APC) > To unsubscribe, visit: http://www.php.net/unsub.php > - Shire shire@facebook.com shire@php.net |
sh...@php.net (Brian Shire) 3/20/2007 2:34:36 AM |
note 97095 added to soapclient.soapclient
note 97094 added to function.sqlite-changes
note 97093 added to function.sqlite-changes
note 97092 added to ref.xmlrpc
note 97091 added to function.var-export