|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 66
|
Hi, we are having problems with our .NET Core 3.1 application which is running version 21.2.32 version of EO.PDF. The application runs fine for a while - days, then will fail with something like Child process exited unexpectedly or a timeout and ultimately hangs and will need the App-Services slot to be restarted. We are running our application with the following settings
Code: C#
...
EO.Base.Runtime.ApplicationID = __our-app-id__;
EO.Base.Runtime.EnableCrashReport = true;
EO.Base.Runtime.CrashDataAvailable += Runtime_CrashDataAvailable
EO.Base.Runtime.EnableEOWP = true;
HtmlToPdf.MaxConcurrentTaskCount = 16;
...
void Runtime_CrashDataAvailable(object sender, EO.Base.CrashDataEventArgs e)
{
...
System.IO.Directory.CreateDirectory(__crashreport-fullpath__);
var crashReportFullPathAndFileName = System.IO.Path.Combine(__crashreport-fullpath__, __crashreport-filename__);
System.IO.File.WriteAllBytes(crashReportFullPathAndFileName, e.Data);
}
It feels like the setup of AppServices seems to have difficulties with the application - for example after the application fails then hangs when HtmlToPdf.ConvertHtml is called whatever exception is being thrown is not caught by our catch and hence nothing comes out in our log. Further although we have EnableCrashReports set to true these are never produced. Can you help ?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
This does not appear to be a crash. Do you get a time out error with ConvertHtml when this occurs? Also can you use Azure's diagnostic tool to capture the memory dump file? We can look into the dump file to see what we can find.
|
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 66
|
Thanks for the reply - we have generated an Azure memory dump when the application is in a state as described above - the files are quite large (too big for here and may contain confidential information) - do you have a designated a location I can drop them into ?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Unfortunately we do not --- can you temporarily put it on Google drive and then share with us?
|
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 66
|
Hi, what email address would you like me to share the contents with ?
|
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 66
|
To confirm, a link to the Google drive where the memory dumps have been uploaded to has been sent in reply to your private email
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Thank you very much for the dump files. We were able to find out the root of the problem. We should have a new build out this week to resolve the problem.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we have posted a new build that should resolve this issue. Please download it from our download page and let us know how it goes.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 66
|
Really appreciate the response - we have done some testing on the 21.2.99 release and no failures (child process, timeouts, etc) as yet - we have deployed to our Live environment - will let you know how it goes
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
You are very welcome. Please feel free to let us know if there is anything else.
|
|