Req #69483 [Opn]: Monitor changed file using Inotify
| From: | cmb@php.net | Date: | Mon, 08 Nov 2021 18:51:19 +0000 |
| Subject: | Req #69483 [Opn]: Monitor changed file using Inotify | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-237627@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69483&edit=1
ID: 69483
Updated by: cmb@php.net
Reported by: djonline at djonline dot ru
Summary: Monitor changed file using Inotify
Status: Open
Type: Feature/Change Request
Package: opcache
Operating System: Any
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
opcache.validate_timestamps=Off is even more of a big performance
boost. Considering that OPcache is optimized for production
environments where files do not suddenly change, I don't think
this will be implemented. However, feeld free to submit a pull
request[1].
[1] <https://github.com/php/php-src/pulls>
Previous Comments:
------------------------------------------------------------------------
[2015-04-19 16:36:49] djonline at djonline dot ru
Description:
------------
Add option not to use stat() on every file request, but monitor file changes by using inotify OS
function, like hhvm.server_stat_cache option.
There will be big perfomance and i/o boost.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69483&edit=1