Webservice not responding

Hi, I have a question about TSparkle and TXDataServer and a windows service not responding.

For a customer did we implement an API service for importing JSON messages to update statuses in a database and performing some business logic.

This API is build using the TSparkle and TXDataServer components which is compiled as a Windows service and run on a webserver as a Windows service.

Daily does this service handles about 2.500 ~ 7.500 calls without any problems, but sometimes does this service stop responding to any API Calls and is it not responding to the Windows service shutdown and restart. So, the only way to stop the service and restarting is by using the Taskmanager and kill process option.

When I check the log does it seem to normally handle the last call (status 200) and doesn’t it show any exceptions.

We’ve also added a logging event to the TSparkle component which also doesn’t show any errors.

So basically, my question is if anyone else experienced a windows service stopped responding in combination with TSparkle and TXDataServer components, as we are running out of clues/ideas.

I have never seen such issue caused by Sparkle or XData itself.

Is your business logic complex? Are you maybe using critical sections or any other thread-locking mechanism that might cause a hang if used wrongly?

Are you using some low-level, different OS calls?

Have you tried running it as a desktop app (or console app) instead of a Windows service, to see if it also happens in that case?