Help Center> Distributed Cache Service> FAQ> Redis Usage> Why Is CPU Usage of a DCS Redis Instance 100%?

Why Is CPU Usage of a DCS Redis Instance 100%?

  • Possible cause 1:

    The service QPS is so high that the CPU usage spikes to 100%.

  • Possible cause 2:

    You have run commands that consume a lot of resources, such as KEYS. This will make CPU usage spike and can easily trigger a master/standby switchover.

    In this case, use the SCAN command instead or disable the KEYS command.

  • Possible cause 3:

    The persistence function has been enabled for the instance. If the persistence function is not required, disable it by going to the Parameters tab page of the instance and changing the value of appendonly to no.