Tuning the URL invocation cache

Before you begin

The URL invocation cache holds information for mapping request URLs to servlet resources. A cache of the requested size is created for each worker thread that is available to process a request. The default size of the invocation cache is 50. If more than 50 unique URLs are actively being used (each JavaServer Page is a unique URL), you should increase the size of the invocation cache.

A larger cache uses more of the Java heap, so you might also need to increase the maximum Java heap size. For example, if each cache entry requires 2KB, maximum thread size is set to 25, and the URL invocation cache size is 100; then 5MB of Java heap are required.

Why and when to perform this task

To change the size of the invocation cache:

Steps for this task

  1. In the administrative console, click Servers > application servers and select the application server you are tuning.
  2. Click Process Definition under Additional Properties.
  3. Click Java Virtual Machine under Additional Properties.
  4. Click Custom Properties under Additional Properties.
  5. Specify invocationCacheSize in the Name field and the size of the cache in the Value field.
    You can specify any number higher than 0 for the cache size. Setting the value to zero disables the invocation cache.
  6. Click Apply and then Save to save your changes.
  7. Stop and restart the application server.



Searchable topic ID:   tweb_url_cache
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tweb_url_cache.html

Library | Support | Terms of Use | Feedback