zend-serverzend-optimizer

tuning PHP Zend Optimizer+


I am looking to tune Zend Optimizer+ on our Zend Server installation. Is there any tool that can show statistics about Zend Optimizer's performance? e.g. number of hits and misses, utilization of shared memory etc.

Apart from Optimizer+ configuration directives, anything else we can do within our application code to help the bytecode caching engine do a better job?


Solution

  • You may call function accelerator_get_status() and see the result - it would contain some information about the O+ internal state and what happens inside.

    You may also look into increasing realpath_cache_size - default is too small for big application.