Batch process client shuts down automatically

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Batch process client shuts down automatically

Postby prasadbabu.mfs » Wed Feb 14, 2018 6:20 am

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.
Prasad Babu
Servoy Developer
prasadbabu.mfs
 
Posts: 13
Joined: Mon Feb 13, 2012 4:53 pm

Re: Batch process client shuts down automatically

Postby mboegem » Wed Feb 14, 2018 11:02 am

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.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Batch process client shuts down automatically

Postby prasadbabu.mfs » Tue Feb 27, 2018 3:02 pm

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.
Prasad Babu
Servoy Developer
prasadbabu.mfs
 
Posts: 13
Joined: Mon Feb 13, 2012 4:53 pm

Re: Batch process client shuts down automatically

Postby mboegem » Tue Feb 27, 2018 5:47 pm

No other suggestions than to use single jobs and reschedule every time.
Runs without any issues in multiple solutions I deployed
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Batch process client shuts down automatically

Postby prasadbabu.mfs » Wed Feb 28, 2018 1:37 am

Hi Marc,

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

Thanks,
pb.
Prasad Babu
Servoy Developer
prasadbabu.mfs
 
Posts: 13
Joined: Mon Feb 13, 2012 4:53 pm


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 4 guests