In our ColdFusion application an event gateway is used to generate PDF files (more than 250 000) for Arabic texts and English text. During this process we noticed that event gateways are getting stuck frequently (sometimes after half an hour or an hour or after 20 minutes etc.). And we need to restart the gateways frequently to start the processing again. Also it is taking an average of 40 hrs to finish the processing of all the PDF files.
Can someone suggest a better solution for this in ColdFusion.