php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58122 Caching issue
Submitted: 2008-03-27 01:45 UTC Modified: 2008-03-28 16:00 UTC
From: tom at fpsbanana dot com Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.2.4 OS: Centos 4.2
Private report: No CVE-ID: None
 [2008-03-27 01:45 UTC] tom at fpsbanana dot com
Description:
------------
Hi there,

I've been using APC successfully for quite some time now. I installed 3.0.17 and my Aborted_clients MySQL variable went sky high - i had to revert to 3.0.16 rather quickly. I didn't have time to investigate the problem because it was affecting a lot of users, but i assume that because i use APC to cache database data, APC was somehow not caching anything and causing clients to perform expensive caching operations on every page load and blowing up MySQL. I did check out the APC status page and it appeared normal (it was caching files and variables), which does bring my theory into question. Sorry that i can't shed much light on the problem.

Tom


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-27 01:51 UTC] tom at fpsbanana dot com
I should add that the result of an aborted client is a white screen - i noticed another recent bug report reporting the same thing.
 [2008-03-28 02:32 UTC] arborrow at jesuits dot net
This may be related. I too had been using APC 3.0.16 successfully on a local install. I use phpmyadmin quite a bit; however, after going to 3.0.17 it kept trying to open the php page with an external application rather than in the browser. I develop for Moodle and Moodle pages were working fine and the issue was sporadic with phpmyadmin. It seems related that there is some type of regression or problem introduced with 3.0.17 and mysql. Let me know if there is anything I can do to help test. Peace - Anthony
 [2008-03-28 02:33 UTC] arborrow at jesuits dot net
Also, when I disabled APC by commenting it out in my php.ini file I went back and was able to use phpmyadmin without problems. Peace - Anthony
 [2008-03-28 09:02 UTC] gopalv82 at yahoo dot com
Mind testing, 

http://t3.dotgnu.info/code/apc-3.0.18-RC.patch

on top of 3.0.17?
 [2008-03-28 16:00 UTC] rasmus@php.net
Fixed in 3.0.18
 [2008-03-28 21:26 UTC] arborrow at jesuits dot net
As best as I can tell the 3.0.18 does in fact resolve the issue as I am not experiencing the behavior I saw in 3.0.17. Thanks Rasmus and gopalv for your amazingly quick response and your continued work with PHP and the APC code which makes the PHP world run faster. Peace - Anthony
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 17:01:29 2024 UTC