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 256373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:00:31+00:00 2026-05-11T22:00:31+00:00

We are tracing a connection leak in an application that uses remoting hosted in

  • 0

We are tracing a connection leak in an application that uses remoting hosted in IIS so to clear orphaned connections we have scheduled an AppPool recycle at specified times of the day.
However I’m not seeing evidence that this recycle is happening according to the schedule –
I have changed the metabase property so IIS will log all recycles and it does log manual recycle commands.

What might be stopping IIS from observing the schedule?

  • 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-11T22:00:31+00:00Added an answer on May 11, 2026 at 10:00 pm

    When you do an application pool recycle (on a scheduled basis), a new worker process (w3wp.exe) is started. The existing worker process is kept alive to service existing requests and then shut down when there are no more. All new requests are sent to the new worker process.

    You can check to see if the application pool you are recycling is a new w3wp.exe process. You can do this by using the following IIS admin script:

    c:>iisapp.vbs
    W3WP.exe PID: 5924   AppPoolId: MSSharePointAppPool
    W3WP.exe PID: 2840   AppPoolId: Problem Sites - ASP.NET 2.0
    W3WP.exe PID: 2576   AppPoolId: DefaultAppPool
    W3WP.exe PID: 6076   AppPoolId: ASP.NET 2.0
    W3WP.exe PID: 4916   AppPoolId: Problem Sites - ASP.NET 1.1
    

    Make a note of the process ID’s before and after the scheduled recycle time to see if they change.

    You may need to use: cscript iisapp.vbs if cscript isn’t your default WSH script host.

    When an application pool recycles you should also see the following event in your system event log:

    Event Type: Warning
    Event Source:   W3SVC
    Event Category: None
    Event ID:   1013
    Date:       22/06/2009
    Time:       19:18:09
    User:       N/A
    Computer:   UK1SRD1602
    Description:
    A process serving application pool 'ASP.NET 2.0' exceeded time limits during 
    shut down. The process id was '2788'.
    

    This event will appear after the number of minutes specified in the Idle timout (Application Pool properties -> Performance tab) plus the length of time it takes for the existing worker process to complete any pending requests and the last ASP.NET application domain is torn down (existing ASP.NET sessions will be serviced by the old worker process until there are no more).

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

Sidebar

Related Questions

Per this helpful article I have confirmed I have a connection pool leak in
While tracing the active connection on my db i found that some times the
I have implemented tracing based on System.Diagnostics. I am also using a System.Diagnostics.TextWriterTraceListener, and
I recently asked a question about tracing Linq-to-Entities I think that one of the
For a given class I would like to have tracing functionality i.e. I would
I'm using an Ajax update panel and have recently added ASP.NET tracing code to
I need to take an existing winforms application and drop into an event tracing
I have all of my connections set up from my code, as opposed to
I have an application written in VB.NET ( NOT asp.net, it is a Windows
i have written a simple console application just to try boost::thread, i am a

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.