Welcome Guest Search | Active Topics | Sign In | Register

Question about HtmlToPdf.MaxConcurrentTaskCount Options
Joren
Posted: Friday, May 3, 2013 7:59:00 AM
Rank: Newbie
Groups: Member

Joined: 9/4/2012
Posts: 9
Hi,

We sometimes get the "Conversion failed. All workers are busy ..." error in our production environment.

The documentation for MaxConcurrentTaskCount doesn't state what the default value for this property is. If I check with the debugger on our test environment (same code), the value for this property is zero. I thought this meant infinite worker threads, but this evidently isn't the case.

How many worker threads are there available by default? And is there a maximum value for this property?

Regards,

Joren
eo_support
Posted: Friday, May 3, 2013 3:23:15 PM
Rank: Administration
Groups: Administration

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

The default value is 20. There is no maximum value for this property, so you can set this value to any number. The difference is, if you set this value too high, then instead of getting "all workers are busy" error, you will get other type of errors, for example, out of memory error. So basically MaxConcurrentTaskCount is a safety switch designed to prevent overload.

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.