Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002884 [Quercus] minor always 08-29-08 17:42 09-03-08 23:47
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0002884: Quercus program cache is too small for large code bases
Description Need to be able to tune the size of _programCache in PageManager.java. 1024 is far too small for our code base and as a result, Quercus has to reload every file every time we execute a page that includes all our library files.

My temporary workaround is to just increase the default size in the Quercus code (so this is not an urgent bug), but the cache size should be tunable without editing the code.
Additional Information
Attached Files

- Relationships

- Notes
(0003377)
nam
09-03-08 23:47

php/2021

Set page-cache-entries in the servlet init block:

<web-app xmlns="http://caucho.com/ns/resin"> [^]
  <servlet-mapping url-pattern="*.php"
                   servlet-class="com.caucho.quercus.servlet.QuercusServlet">
    <init>
      <page-cache-entries>4112</page-cache-entries>
    </init>
  </servlet-mapping>
</webapp>

To verify that the cache size is set:

<?php
  $quercus = quercus_get_quercus();
  var_dump($quercus->getPageCacheEntries());
?>
 

- Issue History
Date Modified Username Field Change
08-29-08 17:42 koreth New Issue
09-03-08 23:47 nam Status new => assigned
09-03-08 23:47 nam Assigned To  => nam
09-03-08 23:47 nam Status assigned => closed
09-03-08 23:47 nam Note Added: 0003377
09-03-08 23:47 nam Resolution open => fixed
09-03-08 23:47 nam Fixed in Version  => 3.2.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker