|
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?
|
|
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
|
|
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.
|
|
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!
|
|