Thread starvation or clock leap can be caused due to different causes but mainly it happens because of below reasons-
- High load on the engine
- The server is so busy that thread starvation is occurring, which is preventing the housekeeper thread from running.
- GC running for a long time.
- Insufficient resources (heap or CPU).
Possible solutions for this issue could be the following:
- Increasing the memory of the engine.
- Rebalancing the jobs running on the engine.
- Dividing a big pipeline into multiple parts.
- Reducing the Batch size