Welcome Guest Search | Active Topics | Sign In | Register

Convertion failed. All workers are busy. Please increase HtmlToPdf.MaxConcurrentTaskCount Options
ePlus
Posted: Wednesday, October 8, 2014 5:21:07 AM
Rank: Newbie
Groups: Member

Joined: 8/20/2013
Posts: 3
We are using EO.PDF to generate PDF files. For creating bulk PDF files faster we are using threads and we are getting below error.

“Convertion failed. All workers are busy. Please increase HtmlToPdf.MaxConcurrentTaskCount. at EO.Pdf.Internal.lm.a(hf A_0)
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc)”

Note when we create PDF files in single thread no error occurs. Problem occurs when multiple threads implemented.

Also When we increase MaxConcurrentTaskCount as suggested in error other errors are come up like file is in use etc.

We are using 5.0.80.2 version.

Any help on this will be highly appreciated.

Thank you.
eo_support
Posted: Wednesday, October 8, 2014 8:38:01 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

This is basically a system overload. The only reliable way to avoid this error is to reduce the load. The very reason that MaxConcurrentTaskCount exists is so that you can get a clean exception indicating that your system is overloaded instead of other random errors. So in a way it functions like an alarm.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.