php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69483 Monitor changed file using Inotify
Submitted: 2015-04-19 16:36 UTC Modified: 2021-11-08 18:51 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: djonline at djonline dot ru Assigned:
Status: Open Package: opcache
PHP Version: Irrelevant OS: Any
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: djonline at djonline dot ru
New email:
PHP Version: OS:

 

 [2015-04-19 16:36 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-08 18:51 UTC] cmb@php.net
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>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC