Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3302888
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:53:59+00:00 2026-05-17T20:53:59+00:00

As best I can tell when a worker process recycles: a) a new one

  • 0

As best I can tell when a worker process recycles:

a) a new one spins up before the old one shuts down
b) the old one shuts down once all the active requests its servicing completes

Is the above accurate?

If so, I have data that I store in SQL once Application_End() fires from the global.ascx file. I pull this data back in when Application_Start() fires.

The problem is based on my testing, the new worker process fires the Application_Start() before my old worker process gets a chance to complete its Application_End().

What are best practices for handling this situation?

cheers in advance

edit: I just noticed a feature on IIS 7 ‘Disabled Overlapped Recycle’ – I’m guessing this is the best route

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:53:59+00:00Added an answer on May 17, 2026 at 8:53 pm

    Your description of overlapped recycling is accurate, yes (1); and there is a setting for disabling it, but it’s intended to prevent HTTP errors which you would be re-introducing. App pool recycles are a normal occurrence for managed apps (stems from, among other things, a CLR limitation that prevents the unloading of assemblies in the same memory space) that you must design for.

    Your technique would be difficult to manage in a web-farm or web-garden scenario.

    I think a better design would be to rely on out-of-process storage for the data (using distributed cache products like ScaleOut, App Fabric, and the like) so that all app pools have the same view of the cached data.

    (1) –
    http://mvolo.com/blogs/serverside/archive/2008/02/25/Starting_2C00_-stopping-and-recycling-IIS-7.0-Web-sites-and-application-pools.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As far as I can tell, the best way to do this is do
Can anyone tell me the best way to go about making an iPhone application
How best can I convert instances of double backslashes to a single backslash in
The best I can come up with for now is this monstrosity: >>> datetime.utcnow()
I need some ideas on how I can best solve this problem. I have
I'll try to explain my scenario as best i can; At each application tick
I'll try to explain my problem the best I can, here goes: I have
How can I best set up my PHP (LAMP) development environment so that I
I have, as best as I can manage, set up IIS (6.0), PHP (5.2.8)
Can anyone recommend some best-practices on how to tackle the problem of starting to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.