Welcome Guest Search | Active Topics | Sign In | Register

Getting Can not create additional conversion task. Please increase HtmlToPdf.MaxConcurrentTaskCount Options
Tyler Miller
Posted: Monday, April 19, 2021 1:30:45 PM
Rank: Advanced Member
Groups: Member

Joined: 1/22/2014
Posts: 38
Getting occasional errors of "Can not create additional conversion task. Please increase HtmlToPdf.MaxConcurrentTaskCount". This error has started occurring from 21.0.32 onwards. We've had to roll back on the last 4 releases though we haven't tried today's release yet.

Should we actually increase this value or update and hope this stops working. If we're to set this value what's best practice on the setting?
eo_support
Posted: Monday, April 19, 2021 2:37:31 PM
Rank: Administration
Groups: Administration

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

Please update to 21.0.94 and see if it resolves the issue for you. There was a performance issue that was addressed in build 21.0.85. This issues causes each conversion to take longer, thus increase the number of concurrent tasks. So updating to the latest build should decrease the change that your application hits the MaxConcurrentTaskCount value.

If you still hit MaxConcurrentTaskCount with the latest build, then you can check whether your computer indeed can handle more --- for example, if you see that your system still have plenty of CPU time and memory when this error occurs, then you can increase MaxConcurrentTaskCount to allow EO.Pdf to take on more concurrent tasks. However if your system is already under heavy load when you see this error, then increasing MaxConcurrentTaskCount will not resolve the issue for you because your system simply won't be able to handle more.

Thanks
Tyler Miller
Posted: Tuesday, April 20, 2021 2:01:53 PM
Rank: Advanced Member
Groups: Member

Joined: 1/22/2014
Posts: 38
The new version is doing this as well and at about the same level of usage. What's the default and what's the best level to increase HtmlToPdf.MaxConcurrentTaskCount to. We're not under heavy load. If based on cores and RAM please advise the best practice. Thanks.
eo_support
Posted: Tuesday, April 20, 2021 4:13:38 PM
Rank: Administration
Groups: Administration

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

The default MaxConcurrentTaskCount is 25. There is no single rule about what's the best value you should set because it depends on how much resources each conversion would consume (for example, a large HTML file would consume more resource than a small HTML file). So you have hit this limit and your system is still relatively free, then you can just try to increase it and see if it resolves the issue for you.

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.