is there any way to get realpath cache hit ratio of php?

is there any way to get realpath cache hit ratio of php?

am 12.08.2009 04:39:53 von Peter Wang

hi,

Is there any way to get realpath cache hit ratio of php?


realpath_cache_size integer

Determines the size of the realpath cache to be used by PHP. This
value should be increased on systems where PHP opens many files, to
reflect the quantity of the file operations performed.

realpath_cache_ttl integer

Duration of time (in seconds) for which to cache realpath information
for a given file or directory. For systems with rarely changing files,
consider increasing the value.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] is there any way to get realpath cache hit ratio ofphp?

am 12.08.2009 17:22:38 von Stanislav Malyshev

Hi!

> Is there any way to get realpath cache hit ratio of php?

Unfortunately not, it doesn't have API for statistics or looking into
the cache. It would be a good idea to add one.

--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php