Re: [APC-DEV] APC showing wrong pages

From: Date: Tue, 20 Mar 2007 02:34:36 +0000
Subject: Re: [APC-DEV] APC showing wrong pages
References: 1 2  Groups: php.apc.dev 
Request: Send a blank email to php-apc-dev+get-68@lists.php.net to get a copy of this message
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


« previous php.apc.dev (#68) next »