Overview
Use this topic to troubleshoot CPU and Memory issues while setting up HA on Cisco IoT FND with Postgres
This task helps you troubleshoot high CPU usage and memory issues while configuring HA and DR on Cisco IoT FND.
If you encounter timeout or memory issues, adjust the parameters in the influx2postgres.properties file.
Procedure
| 1. | Navigate to cd /opt/cgms-tools/conf path. |
|
| 2. | Execute the |
|
| 3. | Edit the following parameters and change them from their default values: Example:
|
|
| 4. | If errors regarding measurements or partially migrated data occur, wait for the script to complete, delete the affected data in the PostgreSQL database, and re-run the |
|
| 5. | Ensure the PostgreSQL database contains the relevant historical data (named data, daily, or hourly) before deleting any data. Here's an example showing how to delete data in Postgres: Example:
|
CPU and Memory issues are resolved.