|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-10-21 13:49 UTC] jpauli@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: jpauli
[2014-10-21 13:49 UTC] jpauli@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 02:00:01 2025 UTC |
Description: ------------ When opcache.validate_timestamps is disabled, there are still access/stat calls for files that are already in cache. Expected result: ---------------- No stat/access calls for cached files Actual result: -------------- Below is an example of the strace output for the second time the page is requested 25780 access("/var/www/html/test/app/cache/prod/jms_serializer", W_OK) = 0 25780 access("/var/www/html/test/vendor/jms/serializer/src/JMS/Serializer/Naming/IdenticalPropertyNamingStrategy.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/jms/serializer/src/JMS/Serializer/Naming/PropertyNamingStrategyInterface.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Formatter/HtmlFormatter.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Formatter/AbstractFormatter.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Formatter/FormatterInterface.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Templating/DelegatingEngine.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/Templating/DelegatingEngine.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/symfony/symfony/src/Symfony/Component/Templating/StreamingEngineInterface.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/twig/twig/lib/Twig/Loader/Filesystem.php", F_OK) = 0 25780 access("/var/www/html/test/vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php", F_OK) = 0 25780 stat("/var/www/html/test/app/cache/prod/templates.php", {st_mode=S_IFREG|0775, st_size=18992, ...}) = 0 25780 stat("/var/www/html/test/active_release/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/views", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 25780 stat("/var/www/html/test/active_release/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 25780 stat("/var/www/html/test/active_release/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Resources/views", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 25780 stat("/var/www/html/test/active_release/app/Resources/NelmioApiDocBundle/views", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 25780 stat("/var/www/html/test/active_release/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Resources/views", {st_mode=S_IFDIR|S_ISGID|0775,