Sascha Schumann wrote:
Or simply use eAccelerator which does not cause those open
calls.
Rasmus, is that behaviour by design? I deinstalled APC
because of this 'characteristic' last week. It was killing a
high-traffic site.
- Sascha
On Thu, 2 Feb 2006, Rasmus Lerdorf wrote:
I think the main hint you need is to never use require_once/include_once with
an opcode cache. Those are the only ones that will cause an open() call. You
should only be seeing a single stat() call per file under APC (needed to get
the inode+device hash key for the shared memory lookup).
-Rasmus
This explains why we did not get nearly the performance from APC that we
did from eAccelerator. I thought it was odd.
Brian.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php