You can use the web cache monitor to view and manage Search cache
information.
About this task
The WebSphere Application Server and WebSphere Liberty provide a web Cache Monitor
application. This application displays cache statistics such as Edge Side, disk statistics, cache
entries, dependency IDs, and cache policy information. The monitor is installed, but not enabled on
the runtime environment by default. This task shows how to activate the web cache monitor. This
monitor checks the status and contents of the cache for search in real time and helps you validate
the cache.
Procedure
-
In a file manager utility, go to the
/opt/WebSphere/Liberty/usr/servers/default directory, and open the
server.xml file for editing.
-
Add the XML element
<feature>webCacheMonitor-1.0</feature>
to the
feature list to active the web cache monitor.
-
When you are finished, the
featureManager
element should look something like
the following:
<featureManager>
<feature>jsp-2.3</feature>
<feature>jaxrs-2.0</feature>
<feature>jpa-2.1</feature>
<feature>servlet-3.1</feature>
<feature>json-1.0</feature>
<feature>jsonp-1.0</feature>
<feature>localConnector-1.0</feature>
<feature>distributedMap-1.0</feature>
<feature>webCache-1.0</feature>
<feature>concurrent-1.0</feature>
<feature>appSecurity-2.0</feature>
<feature>webCacheMonitor-1.0</feature>
</featureManager>
-
Restart the Search server.
-
You can and manage the cache information by using the following rest call.
https://{search-server}:{search_https_port}/cachemonitor/
or
http://{search-server}:{search_http_port}/cachemonitor/