473,473 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

release resources

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
Nov 19 '05 #1
3 1384
One suggestion, don't store the Sessions in memory, use SQL.

"JohnZing" wrote:
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

Nov 19 '05 #2
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
"JohnZing" <jo**********@S.P.A.M.yahoo.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
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

Nov 19 '05 #3
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
--------------------------------------------------
"JohnZing" <jo**********@S.P.A.M.yahoo.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
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

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Dolphin White | last post by:
For example, I allocate some unmanaged resources in the static constructors, then how can I properly release the resource before the application exit? thx!
10
by: markus | last post by:
(Please excuse me for not really knowing where to post this. I picked the biggest and best audience I know of.) I am having trouble running my release build from VC7. It doesn't. When started,...
5
by: David++ | last post by:
Hi there, I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for the debug version of the DLL (and this DLL works fine), however, I seem unable to build a Release version of...
36
by: mynews | last post by:
I use free() function to release memory, But the memory usage is still increasing. cygwin #include <stdio.h> #include <stdlib.h> #include <string.h> struct queue{
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.