Appendix G. Frequently Asked Questions (FAQ)

G.1.
G.2. One of my hosts is regularly a number of seconds behind my other slaves?
G.3. How do you change the replicator heap size after installation?

G.1.

G.2.

One of my hosts is regularly a number of seconds behind my other slaves?

The most likely culprit for this issue is that the time is different on the machine in question. If you have ntp or a similar network time tool installed on your machine, use it to update the current time across all the hosts within your deployment:

shell> ntpdate pool.ntp.org

Once the command has been executed across all the hosts, trying sending a heartbeat on the master to slaves and checking the latency:

shell> trepctl heartbeat

G.3.

How do you change the replicator heap size after installation?

You can change the configuration by running the following command from the staging directory:

shell> ./tools/tpm --host=host1 --java-mem-size=2048