Hi all, A user ran into this problem in their Cool Stack deployment. There may not be enough here to try to duplicate the issue, but the findings are certainly troubling.
- Matt -------- Original Message -------- Subject: [Cool Tools] APC caching issue on Coolstack 1.3 Date: Mon, 27 Oct 2008 10:26:11 -0700 From: Sun Developer Forums Watch <forumswa...@sun.com> To: Matt Ingenthron <Matt.Ingenthron at Sun.COM> Matt Ingenthron, You are watching the forum "Cool Tools", which was updated Oct 27, 2008 10:26:06 AM by xander7777: <http://forums.sun.com/forum.jspa?forumID=857> or <http://forums.sun.com/thread.jspa?threadID=5343017> For your convenience, the new message is included below: -------------------------------------------------------------- Hi, We're trying out Cool Stack 1.3 on a Sun T5220 SPARC server, running a PHP based website. Everything is running on Solaris 10 under a zone. We use mod_rewrite to redirect all requests (except static content, eg. css, images) to one of two PHP files depending on the URL. Ever so often we are finding that a certain URL is directed incorrectly to the other PHP file, originally we thought this was a mod_rewrite issue, but closer inspection shows that in fact APC is serving the incorrect file from its op-code cache. Small tests have been placed at the top of each PHP file, to check that the file that is executed is actually the one Apache requests. Eg: if (basename($_SERVER['SCRIPT_FILENAME']) != 'index.php') error_log(...) By looking at the error log, it can be seen that ever so often, the wrong script is executed. We are also finding that this instance of APC doesn't seem to be caching every file, it simply misses some out (according to the bundled apc.php). Notably the two files mod_rewrite redirects to. We have no idea what is causing this. We have an older Coolstack build running on an identical server (though not under a zone) which we have no problems with. Any pointers would be much appreciated. Kind regards, Alex Forrow -------------------------------------------------------------- To respond to this post, please click the following link: <http://forums.sun.com/thread.jspa?messageID=10482115> -- Matt Ingenthron http://blogs.sun.com/mingenthron/ email: matt.ingenthron at sun.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20081027/6ac47ce0/attachment.html>