Resolution

How to Troubleshoot Distribution’s Redis

AuthorFullName__c
Joshua Han
articleNumber
000004228
ft:sourceType
Salesforce
FirstPublishedDate
2018-11-20T19:59:35Z
lastModifiedDate
2023-01-22T11:05:54Z
VersionNumber
3

Distribution should start up run on port 6379 when Distribution is started.  Since Redis is a systemd service, it can be managed using systemctl.
Here are some useful commands for checking service status, starting the service, and stopping the service:
systemctl status redis
systemctl start redis
systemctl stop redis

The following configuration file can be used to verify/update the Redis connection string for the Distributor/Distribution services:
$DISTRIBUTION_HOME/etc/distribution_conf.gconfig

The following commands can be used to monitor Redis latency by running a ping command to the Redis instance and measuring the time for reply.  In addition, adding the “history” flag will allow viewing of the latency over a period of time:
$ redis-cli —latency
$ redis-cli —latency-history


By default, Redis dataset snapshot set to automatically get backed up at the following location: /var/opt/jfrog/redis/dump.rdb.  However, the following command can be used to manually generate a dataset snapshot from Redis to a desired location:
$ redis-cli --rdb /tmp/dump.rdb