Board index » Visual Studio » when application (windows server) considered to be hung
|
Circusware
|
|
Circusware
|
when application (windows server) considered to be hung
Visual Studio155
Based on what parameters we can conclude that a process is in hung state. ( 100% CPU Usage?? Or if any thread is continiuosly in wait state for a long time??? or ???? ) Can we conclude the given process is in hung state or not based on any process or thread properties (% CPU usage etc). How taskmanger is getting state of hung process? (Generally task manager displays "Not responding" if any process is hang.) Regards, Koti - |
| Igor
Registered User |
Thu Sep 29 09:13:53 CDT 2005
Re:when application (windows server) considered to be hung
Koti <koti@perumalla.us>wrote:
QuoteBased on what parameters we can conclude that a process is in hung message within 5 sec. See also SendMessageTimeout. QuoteCan we conclude the given process is in hung state or not based on any -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925 - |
| CheckAbdoul
Registered User |
Thu Sep 29 09:34:59 CDT 2005
Re:when application (windows server) considered to be hung
See KB article
How To Detect If an Application Has Stopped Responding http://support.microsoft.com/?id" rel="nofollow" target="_blank">support.microsoft.com/=231844 -- Cheers Check Abdoul [VC++ MVP] ----------------------------------- "Koti" <koti@perumalla.us>wrote in message Quote
- |
| adebaene
Registered User |
Thu Sep 29 10:25:29 CDT 2005
Re:when application (windows server) considered to be hungKoti wrote: QuoteBased on what parameters we can conclude that a process is in hung state. Take a web server for example : you cannot conclude it is hung because it do nothing (it may simply have no clients at the current time). On the other side, a compiler that doesn't use CPU for a long time is most probably hung. Concerning taskmanager, it display the "Not responding" flag only for apps that have a main window, base on wether the main window is responsive or not (see our previous answer). Arnaud MVP - VC - |
