release resources

J

JohnZing

Hi, I'm having a problem with our asp.net server.

Regularly, lets say each 5 days, my asp.net application starts to lose
sessions.
I guess that the problem is related with some memory leak problem or
application design problem (probably).

While I'm studying the issue, an IISRESET is effective to release all the
IIS resources? Or a machine restart is needed to completely free all the
resources?

Is there any way to automatically trigger an IISRESET at certain hour, let
say 4 AM?

How can I check what's wrong, what's wrong with my application? Is there a
way, any tool available to help me to debug the problem?

Thank You
 
V

Vaibhav

settting up the task to reset should be easy. All you have to do is to
create a 'Add scheduled task' using 'Control Panel'. I think the difficult
would be to figure out the reason for abnormal behavior but there should be
some IIS utlities to help you out.

HTH
 
A

Alvin Bruney [Microsoft MVP]

Session loss is typically a symptom of application restarts, not memory
leaks. Before you go messing with the code, it would help to simply take a
look at the application logs in the event viewer application on the server.
Examine the messages for signs of trouble - correlating these messages with
the time that you suspect session is being lost.

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top