Applies to Product - FnO Platform
What’s happening?
The Statement Batch job has been failing for an extended period, specifically noted over the last six hours.
Reason:
The failure of the batch job was traced back to a potential stack overflow issue, indicated by the error message stating "Potential Stack Overflow in this session, the calling depth is over max depth." This is attributed to excessive usage of the stack, often due to recursion in customization or overloaded usage within the batch. Numerous batch crashes were identified, linked to stack overflow errors.
Resolution:
- A temporary workaround for stack overflow prevention has been enabled. It may take 30 minutes to an hour for this change to reflect.
- A batch restart was performed based on customer consent.
- Monitor the backend telemetry to observe if the stack overflow crashes reduce.
- For a permanent fix, collaborate with the code owner responsible for the recursive calls to prevent future stack overflow issues.
- Batch Framework Team don't own this, please reach out to FinOps Runtime Crash Team for further mitigation.
