can someone take a look at https://bugs.php.net/bug.php?id=73888

real_path_cache as it is implemented now is pretty worthless when each worker maintains it's own cache and clearstatcache() can not work at all with that design because the worker which calls clearstatcache() doe sit for it's own "instance" of the cache and the others don't know anyhting about it

https://github.com/php/php-src/commit/782b84c6d550ac6e695b54070bb0b409cac29f58 also does more harm than benfits because you waste 4 MB for each worker process with a still unpredictable and mostly low hitrate

under growing load with a high number of workers the problem grows, low hitrate and clearstatcache() on a just changed file with no effect for any of the other worker processes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to