RE: Web Service stops responding randomly

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello Juan,

From your description, I understand you have an ASP.NET webservice and host
on a windows 2003 server IIS5, it will periodly stop responding and require
you to restart the WWW service, correct?

As for this problem, I'd like to confirm the the following things first:

** windows 2003 by default has IIS6 has the component, do you mean you
configure IIS6 to run under IIS5 compatible mode?

** As for the ASP.NET webservice, would you provide some detailed code
logic about it, such as whether it is calling other components or do any
database or IO operations itself.

Based on my experience, there're several things that can make the
webservice(or other ASP.NET web applications) not responding.

** When ASP.NET application restart or the worker process get recycled, it
will unable to process new requests. This could happen when there occur
unhandled exception or the worker process has exceed the recycle
limitation. You can check the server's event log to see whether there is
any process recycle or exception information related to your ASP.NET
webservice application

** It is also possible that there occurs some lock issue which makes the
worker threads get blocked, thus, ASP.NET's free worker threads will get
exhausted and unable to respond further comming requests.

For general troubleshooting, you can check the following objects to detect
your application's wellness:

#server eventlog

#task manager(for CPU and memory usage)

#performance counter(asp.net specific) --- can inspect process and thread
statistics.

Hope this helps. Please feel free to post here if you have any other
findings.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.




.



Relevant Pages

  • RE: NotifyIcon (System Tray)
    ... When we shut down or restart a machine, it will end all processes running ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: IIS 6 resets after changing ASP.NET FW version
    ... separate AppPool and only restart the AppPool after you changed the script ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: IIS 6 resets after changing ASP.NET FW version
    ... separate AppPool and only restart the AppPool after you changed the script ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: problem with items disappearing for cache
    ... worker process will recycle, this will surely cause the ASP.NET ... **.NET CLR Exceptions ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: App load times slow on first start up
    ... shutdown worker process after it hasn't been visited for a while. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... We have both Cold Fusion and ASP.NET apps on this server and the Cold ...
    (microsoft.public.dotnet.framework.aspnet)