[php-src] Issue #8164: PHP8.1.3. opcache bug with monolog/monolog

From: Date: Thu, 03 Mar 2022 12:29:48 +0000
Subject: [php-src] Issue #8164: PHP8.1.3. opcache bug with monolog/monolog
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240150@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8164 Comment Author: cmb69 Thanks! First, it is important to understand that when opcache_reset() returns, the SHM cache has not necessarily been reset; it may take up to opcache.force_restart_timeout seconds for the reset to actually happen. This *might* cause issues when a new deployment just switches symlinks. For a more robust way to deploy a new app version, see http://blog.jpauli.tech/2015-03-05-opcache-html/#understandingtheopcachememoryconsumption. Since in this case the issue apparently happens as of PHP 8.1.0, it *might* be related to the inheritance cache (introduced with commit 4b79dba93202ed5640dff317046ce2fdd42e1d82).

« previous php.bugs (#240150) next »