On 9/11/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > > well, some OSes allow subscribing to the notifications from filesystem > > *bsd (including macos-x) use kqueue, linux and winnt have different > > mechanisms for the same thing > > The question is how expensive are those notifications - i.e. if one has > 1000 of them, will it be a trouble for the OS?
It is not really related to the stat cache but it may need a clarification. The ini cache works on per directory basis and caches the entries found in the current dir and the parent directories. Once the TTL is over, it will check if there is a file in the current dir and its parent directory (until docroot), just like htaccess. Having this TTL reduces the performance impact drastically. For example, htscanner has it set to 5mins by default. For what I heard, many ISPs kept this default. Cheers, --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php