Clearing the cache

Clearing the cache


To clear the WCG cache, complete the following steps.

Warning: The clear command deletes all data in the object store and the host database. Content Gateway does not prompt you to confirm the deletion.
. From the WCG command prompt, run: 
.[root@r610-13-wcg WCG]# cd /opt/WCG/
. [root@r610-13-wcg WCG]#./WCGAdmin stop
.[root@r610-13-wcg WCG]# ./bin/content_gateway -Cclear
. ./WCGAdmin start

To clear the DNS hostdb only while keeping the other cache, run the following commands as shown:

[root@r610-13-wcg WCG]# ./WCGAdmin stop
[root@r610-13-wcg bin]# ./content_gateway -Cclear_hostdb
[root@r610-13-wcg WCG]# ./WCGAdmin start
    • Related Articles

    • Diagnosis of Cloud Latency for Cloud or Hybrid Clients - Additional Partner Information

      Problem   The following does not apply to Firewall Redirection / I-series / IPSEC traffic routing.   Based on experience the likely problems are in this order Firewall interruption Client is using the wrong cluster Client has some issue with local ...
    • Kafka Cluster Reset -- SIEM Log issue

      Part 1: Shutting down the cluster Identify all machines in the deployment with any of the following services: Message Broker Handler (installed with the Policy Broker) Event Message Broker (installed with the Policy Server) Bridge Service (installed ...