You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
Reference

Requirements

What the host and the shared services must provide to run OpenCTI, OpenAEV, OpenCRQ and XTM One, with the versions each module supports.

OpenCTIOpenAEVFor platform engineers

This page lists what a deployment of the XTM stack needs before you install it: the host for the Docker deployment, the versions of the shared services each module supports and the settings they need. For the amount of CPU, memory and disk, see Sizing.

PLATFORMSAT THE CENTERSHARED SERVICESOpenCTIElasticsearch, RabbitMQ, Redis, S3OpenAEVElasticsearch, RabbitMQ, S3,PostgreSQLXTM Onelinux/amd64 images onlyElasticsearch and RabbitMQxtm-docker runs 8.19.18 and 4.3Redisxtm-docker runs 8.8.0S3-compatible storageRustFS in xtm-dockerPostgreSQL17, with pgvector
  1. OpenCTI → Elasticsearch and RabbitMQ
  2. OpenAEV → Elasticsearch and RabbitMQ
  3. OpenCTI → Redis: 7.1 or later
  4. XTM One → Redis
  5. OpenCTI → S3-compatible storage
  6. OpenAEV → S3-compatible storage
  7. XTM One → S3-compatible storage
  8. OpenAEV → PostgreSQL: 17 or later
  9. XTM One → PostgreSQL: with pgvector
Each module needs its own set of shared services, and only S3 storage serves all three

The host, for the Docker deployment

FiligranHQ/xtm-docker needs:

RequirementValue
Docker Engine20.10 or later
Docker Compose2.24.4 or later: docker compose version prints it. The docker-compose.yml of xtm-docker uses required: false under depends_on, which needs 2.20, and the !reset and !override tags of the override files in this documentation need 2.24.4. An earlier v2 stops on the first of them
Processorlinux/amd64. XTM One images exist for this platform only: on an ARM machine they run through emulation. On a Mac with an Apple chip, turn on Use Rosetta for x86_64/amd64 emulation in Docker Desktop
Memory and disk16 GB of RAM and 50 GB of free disk at least: see Sizing
Free portsThe ports the stack publishes: see Network and ports
Kernel setting (Linux)vm.max_map_count raised for Elasticsearch, below

Raise vm.max_map_count on Linux

Elasticsearch needs more memory map areas than Linux allows by default. The OpenCTI installation guide sets vm.max_map_count to 1048575; the xtm-docker troubleshooting section uses 262144. 1048575 covers both.

  1. Set the value for the running system.

    sudo sysctl -w vm.max_map_count=1048575
    
  2. Keep it after a restart.

    echo "vm.max_map_count=1048575" | sudo tee -a /etc/sysctl.conf
    
    Check that it worked
    sysctl vm.max_map_count
    

    It prints vm.max_map_count = 1048575.

Shared services

The versions each module supports, and the version xtm-docker runs. A module marked "Not used" does not connect to that service.

Servicextm-docker runsOpenCTIOpenAEVXTM OneOpenCRQ
Elasticsearch or OpenSearchElasticsearch 8.19.18Elasticsearch 8.0 or later, or OpenSearch 2.9 or laterElasticsearch 8.19 or laterNot usedNot used
RabbitMQ4.3, with the management plugin3.11 or later4.1 or laterNot usedNot used
Redis8.8.07.1 or laterNot usedUsed, no minimum version documentedNot used
S3-compatible storageRustFS 1.0.4Any S3-compatible service; MinIO RELEASE.2023-02 or laterMinIO RELEASE.2025-06-13T11-33-47Z or laterUsed, no minimum version documentedAny S3-compatible service, its bucket created beforehand
PostgreSQL17, with the pgvector extensionNot used17 or laterWith the pgvector extension17 recommended, 16 at least; it creates the unaccent extension

The OpenAEV versions are the recommended ones: OpenAEV may work with earlier versions, but they are not supported. OpenAEV 3.261029.0 detects the search engine from its URL and works with Elasticsearch 8, Elasticsearch 9 or OpenSearch. OpenCTI also works with search, cache and queue services that speak the same protocols, such as managed cloud services: see Topologies.

Settings the shared services need

xtm-docker already sets these. Set them yourself when you run the services another way.

ServiceSettingWhy
Elasticsearchthread_pool.search.queue_size=5000Filigran recommends it for OpenCTI on a new installation
RabbitMQmax_message_size = 536870912 and consumer_timeout = 86400000 in rabbitmq.confFiligran recommends them for OpenCTI on a new installation
PostgreSQLmax_connections=200OpenAEV opens up to 20 connections, XTM One up to 35 per process over its two web workers and its worker, and OpenCRQ about 50 at peak: more than the default of 100
PostgreSQLThe vector extension in the xtm_one database, created by a superuserpgvector is not a trusted extension, and the XTM One role is not a superuser. In xtm-docker, xtm-one-db-init creates it
PostgreSQL in a containerAt least 1 GB of shared memory: shm_size: 1gb in Docker Compose, a memory emptyDir on KubernetesParallel queries pass their rows through /dev/shm: with the 64 MB a container gets by default, the large queries of OpenCRQ fail with could not resize shared memory segment. See Configure OpenCRQ

What's next

NextSizing
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent