Troubleshoot Errors When Syncing All Accounts
In Cortex XSOAR 6.13, fix multi-tenant account sync errors at scale.
When trying to sync all accounts in a large scale environment, the sync fails. The log shows that there are too many open files and the sync fails to open any additional files.
To resolve this issue, update the limit of the number of files on the Cortex XSOAR service level as follows:
Open the demisto.service file on each host. It is located at
/etc/systemd/system/demisto.service.Under [Service], update the following parameters with a number large enough to avoid the error. if these parameters do not exist, add them.
LimitNOFILELimitNOFILESoft
For example:
[Unit] Description=Demisto Server Service After=network.target [Service] LimitNOFILE=100000000 LimitNOFILESoft=100000000 WorkingDirectory=/usr/local/demisto Type=simple User=demisto ExecStart=/usr/local/demisto/server EnvironmentFile=/etc/environment Restart=always RestartPreventExitStatus=29 [Install] WantedBy=multi-user.targetReload the daemon.
systemctl daemon-reloadRestart the service.
systemctl restart demisto
Last updated
Was this helpful?
