Re: Problems with APC, possible cache-corruption?
| From: | James McLean | Date: | Tue, 23 Jun 2009 00:04:24 +0000 |
| Subject: | Re: Problems with APC, possible cache-corruption? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294425@lists.php.net to get a copy of this message | ||
On Tue, Jun 23, 2009 at 6:17 AM, Nathan Nobbe<quickshiftin@gmail.com> wrote:
> hmm, 2 other thoughts i have..
>
> . long shot, but do you have apc.php installed on a diff domain than the
> moodle app (not sure but i suspect apc.php only shows cached values for the
> domain in which its currently running (i know this is something eaccelerator
> does).
No. Same domain.
> . as a test, perhaps setup a simple test site, w/ 2 files, apc.php and one
> index.php file on this rhel box. if things are working (index.php cached w/
> apc.php), it would seem something goofy is going on indside the moodle app.
The RHEL box works flawlessly, as has almost every other APC install
i've ever done. I simply used it as an example that Moodle likely
wasn't at fault, and I have since further proved this by grepping the
source - it isn't setting any of it's own apc filters as suggested
before.
On the APC install that is not working correctly, when I switch
between my info.php and apc.php files - the counter on the cached file
(apc.php) resets, and info.php is not cached. That was all outlined in
the original email.
I guess this is not a common issue, no one seems to have experienced it before..
Cheers