WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Configuring fast response cache accelerator cache size through a distributed platforms Web server

Why and when to perform this task

In the default IBM HTTP Server for distributed platforms configuration, the maximum fast cache accelerator dynamic cache size is calculated as 1/8 of physical pin-able memory. On a machine with 384 megabytes of RAM, it allows a maximum of approximately 50 megabytes for the Fast Cache Accelerator dynamic cache. When this limit is reached, the cache accelerator deletes older entries to cache new entries.

Step for this task

Using the IBM HTTP Server for distributed platforms AfpaDynaCacheMax directive, tune the maximum allowed cache size:
  1. Place the directive in the global server configuration scope, along with the other default Fast Cache Accelerator directives.
  2. Enable fast cache accelerator. To enable the fast cache accelerator, update the following directives in this IBM HTTP Server's http.conf file:
    AfpaEnable
    AfpaCache on
    AfpaLogFile "c:/Program Files/IBM HTTP Server/logs/afpalog" V-ECLF
    AfpaDynaCacheMax 10

    These above settings limit the dynamic cache size to 10 megabytes. If you use these directives to increase cache size, do not make the cache so large that all the physical memory is consumed. Determine how much memory is available when all applications are running, by using the Windows Task Manager.

    Assign no more than 50% of available physical memory to the dynamic cache. Specifying too large a cache not only decreases the performance of other applications, but also puts you at a risk for completely running out of memory.

    The default configuration does not include the AfpaDynaCacheMax directive where the cache size is automatically calculated as 1/8 of physical memory.




Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tdyn_fastcacheresponse.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)