Page 1 of 1

Batch process client shuts down automatically

PostPosted: Wed Feb 14, 2018 6:20 am
by prasadbabu.mfs
Hello All,

I m experiencing a bit weird issue that I have a batch process which programmed to run for every 15 min and it runs and triggers the job without any issue for sometime. Suddenly we see the job stops working and after checking the clients connected list in servoy admin page, the batch process client is no more seen but in the batch process list it still show the batch process is running. Also we don't see any errors in the log regarding the sudden disconnection of batch process client. Any suggestions will be greatly appreciated.

Thanks,
pb.

Re: Batch process client shuts down automatically

PostPosted: Wed Feb 14, 2018 11:02 am
by mboegem
Are these cronjobs?
If so: for how log will the job run.
You say it's triggered every 15 minutes, but if the job runs for more than 15 minutes this will conflict.

Think about using single jobs in this case and than re-schedule a new job after the previous job has ended.

Re: Batch process client shuts down automatically

PostPosted: Tue Feb 27, 2018 3:02 pm
by prasadbabu.mfs
Hi Marc,

Thanks for your quick response and sorry for the delay in reply. Yes those are cronjobs and job runs for max 2-3 mins, so there might not be any conflicts as job triggered for every 15 min. Its weird that its not happening with all batch process clients runs on the same server and only few of them have this issue. For example we run 5 batch process and 2 of them are auto disconnecting after few hours. Any suggestions will be greatly appreciated.

Thanks,
pb.

Re: Batch process client shuts down automatically

PostPosted: Tue Feb 27, 2018 5:47 pm
by mboegem
No other suggestions than to use single jobs and reschedule every time.
Runs without any issues in multiple solutions I deployed

Re: Batch process client shuts down automatically

PostPosted: Wed Feb 28, 2018 1:37 am
by prasadbabu.mfs
Hi Marc,

Thanks for your prompt reply. Will try as you suggested.

Thanks,
pb.