InfluxDB CPU Usage High with constant load

I have deployed an InfluxDB 1.7.9 (and has same issue with InfluxDB 1.8.5) in docker with a constant load at all times. But my CPU Usage increases suddenly after some time and remains high. The docker-compose.yml file section for the influxdb is given below

influxdb:
#image: influxdb:1.8.5
image: influxdb:1.7.9
container_name: influxdb
hostname: influxdb
networks:
edgex-network:
aliases:
- influxdb
ports:
- “8086:8086”
environment:
INFLUXDB_HTTP_AUTH_ENABLED: “true”
INFLUXDB_ADMIN_USER: admin
INFLUXDB_ADMIN_PASSWORD: password
INFLUXDB_DB: edgex
INFLUXDB_WRITE_USER: core
INFLUXDB_WRITE_USER_PASSWORD: password
INFLUXDB_DATA_MAX_SERIES_PER_DATABASE: 0
INFLUXDB_DATA_MAX_VALUES_PER_TAG: 0
INFLUXDB_HTTP_FLUX_ENABLED: “true”
INFLUXDB_DATA_INDEX_VERSION: tsi1
#INFLUXDB_DATA_MAX_CONCURRENT_COMPACTIONS: 2
INFLUXDB_COORDINATOR_QUERY_TIMEOUT: “5m”
INFLUXDB_COORDINATOR_WRITE_TIMEOUT: “20s”
#INFLUXDB_DATA_CACHE_MAX_MEMORY_SIZE: “1g”
INFLUXDB_DATA_CACHE_SNAPSHOT_MEMORY_SIZE: “100m”
#INFLUXDB_COORDINATOR_MAX_CONCURRENT_QUERIES: 20
#INFLUXDB_GOMAXPROCS: 18
INFLUXDB_LOGGING_LEVEL: “warn”

depends_on:
  - export-distro
volumes:
  - ./influxdb-data:/var/lib/influxdb
logging:
  driver: "json-file"
  options:
    max-size: "10mb"
    max-file: "20"
restart: unless-stopped

Does anyone know the cause for the sudden High CPU Usage and suggest a solution for the above issue. Thanks in advance