11
I have a .NET 2.0 console application running on a Windows Server GoDaddy VPS in the Visual Studio 2010 IDE in debug mode (F5).
The application periodically freezes (as if the garbage collector has temporarily suspended execution) however on the rare occasion it never resumes execution!
I've been diagonosing this for months, and am running out of ideas.
- The application runs as fast as it can (it uses 100% CPU usage), but at normal priority. It is also multi-threaded.
- When the application freezes, I can unfreeze it using the VS2010 IDE by pausing/unpausing the process (since it's running in the debugger).
- The location of last execution, when I pause the frozen process, seems irrelevant.
- While frozen, the CPU usage is still 100%.
- Upon unfreezing it, it runs perfectly fine until the next freeze.
- The server might run 70 days between freezes, or it might only make it 24 hours.
- Memory usage remains relatively constant; no evidence of any sort of memory leak.
Anyone have any tips for diagnosing what exactly is happening?