473,606 Members | 2,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

recycling the ASPNet_WP.EXE + application-state Objects get lost.

Hello,
I am using ASP.NET, C# under W2K.
I try to keep some important information in application- and
session-state Objects.
With the recycling of the ASPNet_WP.EXE my application- and
session-state Objects get lost.

Therfore I have some questions:
-) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
-) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
-) How to react on this situation?
-) What is the regular way to store Application Objects?

Hope to hear from you soon on this regard

Regards ,

Jörg Grinninger
Nov 17 '05 #1
3 4298
Check out your machine.conf's processModel for information on recycling,
you'll see things like timeout, idleTimeout, memoryLimit and a few other
thigns which all affect process recycling.

I don't see how you are losing application objects..if the process recycles
the application_sta rt event fires and all your application variables get
reloaded...no?! ?!

As for your session-state stuff, it will get lost during recycles...your
only alternative is to store sessions out of process, such as in SQL Server
or Session State Manager...

Karl
"Grinninger " <jo************ **@t-systems.com> wrote in message
news:98******** *************** ***@posting.goo gle.com...
Hello,
I am using ASP.NET, C# under W2K.
I try to keep some important information in application- and
session-state Objects.
With the recycling of the ASPNet_WP.EXE my application- and
session-state Objects get lost.

Therfore I have some questions:
-) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
-) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
-) How to react on this situation?
-) What is the regular way to store Application Objects?

Hope to hear from you soon on this regard

Regards ,

Jörg Grinninger

Nov 17 '05 #2
Hi Karl,
I want to save a userinput for all sessions in an application-state
Object (without saving it to the disk).
So I can't reload this input automaticalls by application_sta rt.

If there is no other way, I will have to try the Session State Manager
(even if this is pain).

thanks a lot

Jörg

"Karl Seguin" <kseguin##crea. ca> wrote in message news:<OP******* *******@TK2MSFT NGP10.phx.gbl>. ..
Check out your machine.conf's processModel for information on recycling,
you'll see things like timeout, idleTimeout, memoryLimit and a few other
thigns which all affect process recycling.

I don't see how you are losing application objects..if the process recycles
the application_sta rt event fires and all your application variables get
reloaded...no?! ?!

As for your session-state stuff, it will get lost during recycles...your
only alternative is to store sessions out of process, such as in SQL Server
or Session State Manager...

Karl
"Grinninger " <jo************ **@t-systems.com> wrote in message
news:98******** *************** ***@posting.goo gle.com...
Hello,
I am using ASP.NET, C# under W2K.
I try to keep some important information in application- and
session-state Objects.
With the recycling of the ASPNet_WP.EXE my application- and
session-state Objects get lost.

Therfore I have some questions:
-) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
-) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
-) How to react on this situation?
-) What is the regular way to store Application Objects?

Hope to hear from you soon on this regard

Regards ,

Jörg Grinninger

Nov 17 '05 #3
Why is it a pain? You start a service and change your webconfig? There's a
good chance you were using the application object incorectly to begin
with...it isn't meant to store user-specific information...i t's an
APPLICATION object....sessi ons are what you want..and if recycling is a
problem, state management offers a pretty simple solution.

Karl

"Grinninger " <jo************ **@t-systems.com> wrote in message
news:98******** *************** ***@posting.goo gle.com...
Hi Karl,
I want to save a userinput for all sessions in an application-state
Object (without saving it to the disk).
So I can't reload this input automaticalls by application_sta rt.

If there is no other way, I will have to try the Session State Manager
(even if this is pain).

thanks a lot

Jörg

"Karl Seguin" <kseguin##crea. ca> wrote in message

news:<OP******* *******@TK2MSFT NGP10.phx.gbl>. ..
Check out your machine.conf's processModel for information on recycling,
you'll see things like timeout, idleTimeout, memoryLimit and a few other
thigns which all affect process recycling.

I don't see how you are losing application objects..if the process recycles the application_sta rt event fires and all your application variables get
reloaded...no?! ?!

As for your session-state stuff, it will get lost during recycles...your
only alternative is to store sessions out of process, such as in SQL Server or Session State Manager...

Karl
"Grinninger " <jo************ **@t-systems.com> wrote in message
news:98******** *************** ***@posting.goo gle.com...
Hello,
I am using ASP.NET, C# under W2K.
I try to keep some important information in application- and
session-state Objects.
With the recycling of the ASPNet_WP.EXE my application- and
session-state Objects get lost.

Therfore I have some questions:
-) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
-) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
-) How to react on this situation?
-) What is the regular way to store Application Objects?

Hope to hear from you soon on this regard

Regards ,

Jörg Grinninger

Nov 17 '05 #4

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

Similar topics

0
1268
by: warlord | last post by:
I have recently converted a site to using the ASP.NET StateServer, and in order to ensure that my changes were successful I made sure I had data in session, and set the idleTimeout value in the processModel section of machine.config to 5 minutes. The aspnet_wp.exe worker process recycled after 5 minutes of idle time as expected, and sure enough the site kept running and I still had access to all my session data. The problem is that...
12
2018
by: adam | last post by:
Hi I Have a problem with and asp.net application recycling. ON the development machines it works fine, but on the clients machine it keeps recycling. When some users access the app, the browser returns a Server Application Unavailable message. In the event log there is an error
4
2060
by: Lynn | last post by:
hi, anyone knows how to fix this error? Event Type: Error Event Source: ASP.NET 1.0.3705.288 Event Category: None Event ID: 1082 Date: 1/18/2004 Time: 12:50:47 AM User: N/A
0
971
by: akshay | last post by:
hi Please help me with this one. we have a webfarm of 3 servers dual processors on windows2000 server IIS 5.0 and .net 1.1. I have changed the process model - of servers to have aspnet_wp to timeout after 8 hours to destroy any hanging resources as we were facing ODP.NET connection time out problems. What I have observed that after timeout of aspnet_wp - randomly one of the servers IIS stops responding, i have to manually do an IISRESET...
3
2243
by: Ricky Chan | last post by:
I am using Windows2003 server with IIS6. I tried to set the maximum used memory to 50M However, the process is not recycled when the w3wp process exceed 50m memory according to task manager. besides, what is the difference between memory limit in machine.config and IIS memory recycling.. I need to set both, or set any one?
3
3976
by: Ramesh Dodamani | last post by:
Environment: XP Pro, VS.Net 2003, .Net 1.1.4322 with SP1 & KB Hotfix 886903 P4 2.2GHz, 1 GB RAM My system was working fine till a few weeks back when I started seeing the following errors. "aspnet_wp.exe (PID: xxxx) stopped unexpectedly" I am seeing the this error currently happen, but unlike the description in articles Q823409 or 821387, I am not downloading any large file .The error
6
4446
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2 seconds: <%@ Page language="c#" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.IO" %>
5
3172
by: Ed | last post by:
I have some questions in regards to Session variables and IIS Recycling: 1. Does the IIS setting 'Shutdown worker process after being idle' affect an application's session variables? Or is IIS checking that all sessions are done before shutting down the worker processes? 2. Does the Recycle worker processes setting kill all session variables of
5
2215
by: Tony | last post by:
Hi all, Here's the link to the issue we were seeing on our ASP.NET system when modifying, adding and deleting directories in framework 2.0. http://blogs.msdn.com/toddca/archive/2005/12/01/499144.aspx I then tried a few of solution I found while perusing Google, - FCNMode registry mod - Relocating to App_Data folder to create/modify/delete directories.
3
1978
by: MP | last post by:
Hi, I have a library in which I use the COM+ services dynamically for creating a Folder in the virtual directory of the Web Application on the Web Server. As ASPNET account does not have enough previlages I Impersonate a user account at run time that has enough previlages to create a folder on the web server.
0
8439
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8430
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8305
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5966
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5465
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3930
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2448
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 we have to send another system

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.