Bug #76840 [NEW]: Opcache not clean up memory
| From: | anton at justhost dot ru | Date: | Tue, 04 Sep 2018 18:11:35 +0000 |
| Subject: | Bug #76840 [NEW]: Opcache not clean up memory | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-216882@lists.php.net to get a copy of this message | ||
From: anton at justhost dot ru
Operating system: CloudLinux 3.10.0-614.10.2.lve1.
PHP version: 7.1.21
Package: opcache
Bug Type: Bug
Bug description:Opcache not clean up memory
Description:
------------
Clean wordpress placed on folder test1, making request to it all scripts
is cached to opcache, after rename folder to test2 repeat request to it,
scripts are added to cahce again anf old scripts (what was cached from
test1 folder) never deletes, when we make many renames to test(X) and
memory ended in opcache in test(X+1) folder opcache fully not working.
Test script:
---------------
Any wordpress version or any other script causes this.
Expected result:
----------------
Old and not used scripts must be clan up from opcache
Actual result:
--------------
Scripts stay at memory forever
--
Edit bug report at https://bugs.php.net/bug.php?id=76840&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76840&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76840&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76840&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76840&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76840&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76840&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76840&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76840&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76840&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76840&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76840&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76840&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76840&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76840&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76840&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76840&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76840&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76840&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76840&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76840&r=mysqlcfg