FortiSOAR Knowledge Base
FortiSOAR: Security Orchestration and Response software provides innovative case management, automation, and orchestration. It pulls together all of an organization's tools, helps unify operations, and reduce alert fatigue, context switching, and the mean time to respond to incidents.
Andy_G
Staff
Staff
Article Id 189447
Description

Do you see any of your playbook still in active state even after more than one hour?
Yes!
Does this mean playbook is till up and running? 
No!. 


Playbook execution time can not be more than the time limit mentioned in config file. The value of CELERYD_TASK_SOFT_TIME_LIMIT  in file /opt/cyops-workflow/sealab/sealab/config.ini.  Default value of this is set to 10 min. That means if playbook exceeds this time it will fail with Error: Time limit exceeded and this will set the status of Playbook as Failed.
 
Then why it has active status still ? 
In some cases when playbook is up and executing and in the mean time we restart celeryd service the process that was executing this will be killed and playbook status in database remains in the same state i.e. active. That is the reason we see status as active 

To debug further Please check 
 /var/log/cyops/cyops-workflow/celeryd.log . 


Contributors