Hanging batch jobs

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Matthew.Minchuk
Posts: 4
Joined: December 13th, 2021, 11:43 am
Contact:

Hanging batch jobs

Unread post by Matthew.Minchuk »

I'm having an issue for the auto apply receipts batch jobs while doing load testing.

I have it set up for a parent batch job to populate a DB table that I use as a Queue. Multiple worker jobs then pick from the queue to process them in parallel.

When the worker job reaches ~350-400 records processed, it starts to just hang. The worker batch job will be stuck running but it's not processing any records anymore. Also, the work with batch jobs screen becomes unresponsive when a job goes into this state (504 gateway error).

For now, I've set up a work around where the worker jobs only process 50 records then ends. The parent job constantly monitors for records in the queue to restart the worker batch jobs.
word count: 134

Tags:
Post Reply