Bug #67691 [Ana->Csd]: Opcache "used memory" value wrong

From: Date: Tue, 24 Mar 2015 08:49:37 +0000
Subject: Bug #67691 [Ana->Csd]: Opcache "used memory" value wrong
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191562@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67691&edit=1

 ID:                 67691
 Updated by:         rasmus@php.net
 Reported by:        torben at dannhauer dot info
 Summary:            Opcache "used memory" value wrong
-Status:             Analyzed
+Status:             Closed
 Type:               Bug
 Package:            opcache
 Operating System:   Linux Debian Jessie
 PHP Version:        5.6.4
-Assigned To:        
+Assigned To:        rasmus
 Block user comment: N
 Private report:     N

 New Comment:

That was fixed over a month ago:

https://github.com/php/php-src/commit/9fb48edf3c32914330b7a5081a34b4328bf6da68


Previous Comments:
------------------------------------------------------------------------
[2015-03-24 08:33:40] denis at shashkov dot pro

We have similar behaviour after restarting Opcache.
I've found a misfit in the different variables storing shared_free counter - see my patch.

------------------------------------------------------------------------
[2015-01-06 16:48:10] rasmus@php.net

I am not able to reproduce this.

I checked both php-fpm and mod_php. 
For 256M php-fpm (PHP 7) I see:

   [used_memory] => 18738768
   [free_memory] => 249696688

and for 512M mod_php (PHP 5.6-dev) I see:

   [used_memory] => 11698176
   [free_memory] => 525172736

------------------------------------------------------------------------
[2015-01-03 18:32:55] torben at dannhauer dot info

Still exists in 5.6.4

------------------------------------------------------------------------
[2014-10-27 09:17:16] torben at dannhauer dot info

The bug exists also in 5.6.2.. :(

------------------------------------------------------------------------
[2014-09-08 05:23:05] torben at dannhauer dot info

Bug still exists in stable 5.6.0

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=67691


--
Edit this bug report at https://bugs.php.net/bug.php?id=67691&edit=1


Thread (9 messages)

« previous php.bugs (#191562) next »