CPU usage when idle

I have just started using Deepstack, and is running the latest version of docker image deepquestai/deepstack:latest (CPU version).

I noticed that there is a constant CPU utilization. The idle CPU usage is about 3-8%. That is pretty much for a system handling 2-3 request per day. On my server running 10 containers Deepstack alone is using 80% of all CPU time.

The threads using constant CPU is:

  • /app/intelligence.py
  • redis-server

I am using Deepstack with Home Assistant component to detect persons.

Docker configuration:

    container_name: deepstack
    image: deepquestai/deepstack
      PGID: 1000
      PUID: 1000
      TZ: Europe/Stockholm
      VERSION: latest
      - "5000:5000"
    restart: unless-stopped
      - /data/docker/deepstack:/datastore

Hello @Fyz, can you please detail your server specs?

Hello John!

Host system: Ubuntu 18.04.3 LTS // Docker Engine Community
Processor: Core i7-3770
Memory: 12 GB
Storage: SSD in mirror

Docker has been running for 20 hours and this is the htop stats:
20:03.89 python3 /app/intelligence.py (process top #1)
10:57.07 redis-server *:6379 (process top #4)