DBExporter.StartExport() stucks at 0%

Hi!

We have a problem with DBExporter. Our service, which uses DBExporter, is working continiusly. And it stucks on StartExport() periodically (every 2-3 days) so the download progress doesn’t change (stuck at 0%). Only service restart helps to solve this problem.

Relogining doesn’t solve the problem. Milestone version is 2022 R2 (both management server and sdk). Also nothing suspicious in sdk logs.

Could you guide on what can cause thread blocking in DBExporter.StartExport()?

Does your service leak (increasing memory or other resources keep increasing)?

The DBExporter isn’t thread safe so I would like to know if your service is starting multiple export jobs in parallel?

Hi! Thank you for your answer.

No, we don’t have any problems with memory leakage. It’s the first time we met this problem.

Yes, usually our service is starting multiple export jobs in parallel but we also tried with only one and the problem still occured.

Can you please try to export from Smart Client (please do not export from export plugins. Use ordinary export functionality on Smart Client) and check if you see the same issue?

It works fine with Smart Client but the problem is that it happens only after 2-3 days. Also we can’t use smart client for export as Milestone export is integrated with our product.

I propose that you add some logging to you service. Try to find out if there is pattern, that is is the same camera giving the issue, if the issue coincides with camera failures of similar.

PS. You say it does not leak memory, what about handles / threads?