FortiSOAR vertical scaling requirement
Hello FortiSOAR SMEs.
I am trying to implement enrichment of indicators in a time bound manner, below is the usecase details.
FortiSOAR VM has below configuration.
FSR Version: v7.4.2 ENT License without any SME and Agents.
vCPU# : 16
RAM: 64GB
HA: Active / Active
Use-case - On-Create event triggered enrichment of 1000 numbers indicators such as IPv4, URL, FQDN, SHA1, SHA256 and MD5 hashes within 30 minutes, where each indicator takes 2 minutes to get enriched by 3rd party threat intelligence platforms (VirusTotal, InfoBlox,..etc)
Below tunables are configured.
1.
- Workflow workers: 16
/etc/celery/celeryd.conf: CELERYD_OPTS="--concurrency=16" - Postgres shared buffer: 2GB
/var/lib/pgsql/12/data/postgresql.conf: shared_buffers = 2048MB - ElasticSearch Xms and Xmx 8GB:
/etc/elasticsearch/jvm.options.d/fsr.options:-Xms8g-Xmx8g "max connection" defaults to 200 in Postgresql.
2. Playbook where enrichment happens, runs parallelly and asynchronously for each Indicator through "On-Create" event trigger.
Observing error:
too many database connections
Batch processing is not an option as enrichment is triggered with "On-Create" event in Indicator module.
Kindly suggest this usecase solution.
