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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: carlos dot rios at bolsademulher dot com
New email:
PHP Version: OS:

 

 [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: Sun Nov 24 03:01:32 2024 UTC