Hi Adam,
Thank you for using MSDN Newsgroup! My name is Steven, and I'll be
assisting you on this issue.
From your description, you found your ASP.NET web application worked well
for some clients and had some problem with some others. And you thought the
problem was the asp.net worker process being recycled sometimes?
If there is anything I misunderstood, please feel free to let me know.
Based on my experience, generally there are some certain reasons which may
cause the server process to recycle itself:
1. the application's web.config has been modified
2. The "bin" sub directory or its sub direcotrys occurs any modification
3. Some of the server's properties has been beyond its limitation.
I think you may first check out the above items to see whether there're any
code in the application which may fire some of the causes. Also, as Hermit
suggested , you may try using the
public class ProcessModelInfo
{
public static ProcessInfo GetCurrentProcessInfo();
public static ProcessInfo[] GetHistory(int num);
}
public class ProcessInfo
{
public TimeSpan Age { get; }
public int PeakMemoryUsed { get; }
public int ProcessID { get; }
public int RequestCount {get; }
public ProcessShutDownReason ShutdownReason { get; }
public DateTime StateTime { get; }
public ProcessStatus Status { get; }
}
Class to monitor the server process's performance. For example the "
ShutdownReason" member can provide us some information on the process's
down reason. And here is a tech ariticle which mainly instruct how to make
good use of the above class to monitor the ASP.NET workerprocess:
#Watching Your Server Processes
http://msdn.microsoft.com/library/de...us/dnaspp/html
/aspnet-watchserverprocesses.asp
You may have a look if you think it necessary to have a monitoring on the
worker process.
In addition, since such problem may be caused by different kinds of
unexptected reasons. Would you please provide some more infos on what
operation you've made in your application's code so as for use to do some
further researches on this issue. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)