php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58618 op_code problem after full apc memory limit reach
Submitted: 2009-04-05 10:49 UTC Modified: 2009-07-16 21:35 UTC
Votes:5
Avg. Score:4.8 ± 0.4
Reproduced:5 of 5 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: carlos dot rios at bolsademulher dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.4 OS: Ubuntu 8.04 SE
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
11 + 48 = ?
Subscribe to this entry?

 
 [2009-04-05 10:49 UTC] carlos dot rios at bolsademulher dot com
Description:
------------
After having all 96MB consumed by apc caches, the garbage collections passes and free some memory. After that I got some strange problems, regarding to Internal Zend Error, yelling about class information:

31-Mar-2009 22:24:48] PHP Fatal error:  Internal Zend error - Missing class information for  in [...] on line 21


It seems that APC clear some included files, but does not include again  when another script calls that file

file a.php
<?
include_once(b.php);
?>

file b.php
<?
echo 'yada yada';
?>

apc clears b.php trying to free some memory.

a.php does not know that b.php is not over there anymore and APC does not cache b.php again


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-06 12:54 UTC] shire@php.net
Which version of APC are you using?
 [2012-04-17 07:45 UTC] rpamfil at gmail dot com
see also bug 59298, which seems to be the same issue.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 16:01:30 2024 UTC