The first request to a quiet IIS site takes much longer than later requests.
Fastest diagnosis: For a 2026 .NET 10 IIS cold start, match the slow request’s timing to application pool events and startup logs first. If the evidence confirms a cold start, test preloading or a longer-running pool and verify the result; don’t treat turning off idle timeout as a universal fix.
This guide is for developers maintaining low-traffic ASP.NET Core sites who need to identify whether IIS pool lifecycle explains the delay.
It also helps Windows administrators distinguish idle shutdown, recycling, and a server restart.
Technical leads can use the same evidence to assess the deployment environment without sizing a server from one slow request.
Identify the trigger before changing the pool
A slow first response is a symptom, not a resource diagnosis. The key is when it occurs. The same endpoint can be slow for different reasons after a quiet period, a pool recycle, or a machine restart.
Use the timing to establish the first diagnostic branch:
- After a quiet period: Check whether the request followed the application pool’s configured idle timeout. IIS process model settings include an idle timeout and an action for the worker process when that timeout is reached. Verify the values on the affected pool rather than assuming a default. Microsoft’s IIS process model reference describes these settings.
- After a recycle: Check whether a scheduled restart, a configuration change, or another recycle condition coincides with the request. IIS exposes recycling settings separately from idle behavior; a new worker process may need to initialize the application. Microsoft’s recycling configuration reference lists recycle-related controls.
- After a server restart or deployment: Treat this as a fresh startup path. The site may need to load its application, establish dependencies, or perform startup work before it can handle the business request. Compare application logs with the machine and IIS event records before attributing the delay to the pool.
A repeatable slowdown at one of these boundaries is more useful than a single elapsed-time measurement. If the application is slow on every request, or its logs show repeated dependency delays, investigate those paths separately. Pool changes cannot fix a slow database call, a blocked external dependency, or expensive work that runs for every request.
Keep the first test narrow: record the request time, the endpoint, the response outcome, and the relevant pool and application events. Change one setting at a time so the next test can explain what changed.
Follow the application pool lifecycle evidence
Start in IIS Manager. Under Application Pools, select the pool used by the site and open Advanced Settings. Check Start Mode, Idle Time-out (minutes), and the pool’s recycling settings. Under the site’s Basic Settings, confirm which pool actually serves the application. A mismatch between the site and the pool being inspected can make an otherwise careful diagnosis irrelevant.
Then align the configuration with a small event timeline:
- Note when the slow request arrived.
- Inspect the Windows event records around that time for IIS worker-process or application-pool lifecycle events.
- Review the application’s startup logs for process start, initialization completion, and failures.
- Compare those records with the configured idle timeout and recycle schedule.
Microsoft documents periodic restart settings as a distinct part of pool recycling. Check the configured schedule and related settings against the observed event time instead of assuming that every new worker process resulted from inactivity. The IIS periodic restart documentation explains the relevant configuration.
For a graphical check, use Event Viewer and narrow the view to the time window around the request. The exact log provider and event details depend on the installed IIS components and the event being recorded, so preserve the event text rather than relying on a remembered event identifier. In the application log, look for whether startup began, whether initialization completed, and whether the first business request arrived before or after that point.
This evidence helps separate three cases:
- Idle shutdown: The pool’s configured idle behavior matches the quiet interval, and the next request is followed by worker-process startup.
- Recycle: A recycling event aligns with the request, including a scheduled restart or a configuration-related trigger.
- Startup work outside the pool trigger: The process starts, but application logs show slow initialization, a dependency wait, or an exception. The pool may be the point where startup begins, but the application path is where the delay originates.
IIS can also suspend idle worker processes in some configurations. That behavior is not identical to treating every idle interval as a full application restart. Review the applicable IIS setting and version rather than inferring the process state from the word “idle.” Microsoft’s IIS explanation of idle worker-process page-out describes that distinction.
Assess preloading and warm-up behavior
Application Initialization is a way to trigger initialization; it is not proof that every useful application path is ready. It can issue an initialization request when IIS starts an application. The outcome still depends on whether the feature is installed, the site and application settings are correct, the target URL is suitable, and the application completes its startup work.
Check the IIS feature first. In IIS Manager, inspect the server’s installed role services and confirm that Application Initialization is available and enabled for the intended use. Next, inspect the site’s application defaults and preload configuration. Microsoft documents the relevant site-level defaults in its IIS application defaults reference, and the feature’s configuration in the Application Initialization reference.
For ASP.NET Core hosted behind IIS, also verify the hosting configuration against Microsoft’s ASP.NET Core IIS advanced configuration guidance. The guidance covers application pool settings and IIS startup behavior relevant to this hosting model. Do not copy settings from another site without checking which pool and application they apply to.
A useful warm-up target should exercise initialization that matters to the site while avoiding side effects. A lightweight health or readiness path may be appropriate if it confirms the application is ready. A path that changes data, sends notifications, or depends on a user session is a poor initialization target. Check the application’s own behavior before assigning a URL as a startup request.
Compare the available approaches by their operational trade-offs:
- Keep the worker process available: Consider this when the site needs predictable readiness after quiet periods and its ongoing resource use is acceptable. It may not eliminate application-level initialization work or failures.
- Preload with Application Initialization: Consider this when startup can be triggered safely and the initialization request reaches the intended application. Confirm that startup logs show completion and that the request does not merely return an early response while useful work remains unfinished.
- Keep the current lifecycle: Prefer this when the application is rarely used, occasional first-request delay is acceptable, or the cost of keeping it warm is greater than the business impact. A low-traffic site does not automatically justify permanent worker-process activity.
A warm-up request can also fail silently from the perspective of a user if logs are incomplete. Verify the target host, application path, authentication assumptions, and startup dependencies. The IIS feature configuration and the application’s own readiness behavior must agree.
Change one setting, then repeat the same test
Before changing a production pool, capture its current settings and make sure the application can be restored to the previous behavior. Use a maintenance window appropriate to the site, and keep the original values so rollback does not depend on memory.
Follow this sequence:
- [ ] Record the affected site, its application pool, the slow endpoint, and the time of a reproducible slow request.
- [ ] In IIS Manager, confirm the pool’s Start Mode, Idle Time-out, and recycling configuration. Save the current values before editing.
- [ ] In Event Viewer and application logs, check whether the slow request followed idle shutdown, recycling, server restart, or an application startup failure.
- [ ] Confirm that Application Initialization is installed and configured for the correct site or application; review the warm-up URL for side effects and access requirements.
- [ ] Change one lifecycle or preload setting only, then test the same endpoint after a quiet period and after the relevant restart or recycle condition.
- [ ] Verify that the warm-up request reached the correct application, that startup completed in the logs, and that the business endpoint still behaves correctly.
- [ ] Review CPU and memory observations during the test. If resource use or application behavior worsens, restore the saved setting and continue diagnosis before making another change.
Use matching conditions for the comparison. A warm request tested against a cold request at a different time, with different traffic or dependencies, does not isolate the effect of an IIS setting. Keep the endpoint and validation method consistent, and record both the response behavior and the startup evidence.
For rollback, restore the recorded pool or site settings, recycle only when the change requires it, and verify the site again. If the logs show an application exception or a dependency wait, investigate that cause before trying further pool changes. If the events point to a scheduled recycle, revisit its schedule and operational purpose rather than simply disabling recycling.
Decide whether the server environment is part of the fix
The application’s observed process behavior should drive the server decision. A single slow first request cannot establish a CPU or memory requirement. Look at resource observations during startup and normal operation, application dependencies, and the cost of keeping the process ready. Then decide whether the current environment can support the intended lifecycle settings.
For a stable IIS workload, assess whether the environment gives the team enough control over Windows Server configuration and whether shared-resource variation is affecting the application. Shared virtual machines can make it harder to attribute resource contention to a specific neighbor or to control the underlying host. A dedicated AMD bare-metal server is a different option when the workload needs exclusive server resources and is expected to run continuously. It is not automatically the right choice for a lightly used site where occasional startup delay is acceptable.
IronStp’s dedicated server options and pricing can be checked against the application’s actual Windows, language, and resource requirements. The product page, not an assumed configuration, should determine whether a suitable option is available. For the broader trade-off between renting and owning infrastructure, see this buy-or-rent dedicated server comparison.
.NET 10 is listed in Microsoft’s support policy as released on November 11, 2025, and its support status can change as the policy is updated. Check the official .NET support policy when planning maintenance; this guide does not infer a server size or a performance gain from the framework version.
Keep the choice tied to evidence: if the delay follows pool lifecycle events and a verified warm-up removes the business impact without unacceptable resource use, tune the application environment. If the delay persists inside application startup, address that path before buying more server capacity.
FAQ
Why can an IIS site feel slow only on its first visit after inactivity?
A request after an idle period may arrive when the pool’s worker process is no longer active, so IIS has to start the application path again. Compare the pool’s configured idle behavior with IIS events and application startup logs. If the process was already running, look for application initialization or dependency delays instead of assuming that inactivity caused the issue.
How can administrators distinguish idle shutdown from a scheduled recycle?
Check the pool’s idle timeout and recycling configuration, then compare both with the event timeline around the slow request. A matching idle event suggests a different trigger from a scheduled recycle or a configuration change. Repeat the same test after a server restart as a separate case, and retain application logs so startup failures are not mistaken for pool behavior.
Is AlwaysRunning enough to make an ASP.NET Core app warm?
No. The setting concerns the pool’s start behavior; it does not confirm that the application completed initialization or that a useful endpoint is ready. Review the preload configuration and Application Initialization setup, then check application logs and test a real business request. Also assess ongoing resource use before choosing to keep a pool available.
What confirms that Application Initialization actually reached the app?
Confirm the IIS feature and the intended site or application settings, then inspect application logs for the initialization request and completed startup. Test after an idle interval, a recycle, and a server restart to cover different triggers. A successful configuration check alone is insufficient: the target URL must reach the right app, and startup must finish without errors or unsafe side effects.
Once the timeline and logs identify the trigger, the next decision is whether to accept occasional cold starts, tune IIS initialization, or change the hosting environment. A shared VPS or cloud instance may be adequate for a lightly used site, but shared-resource variation and limited control over the underlying host can complicate diagnosis. Where a business application needs exclusive resources for steady operation, compare an AMD dedicated server from IronStp with the measured workload and current product options—not with a guess based on one slow request.
Frequently asked questions
Why does an IIS site respond slowly after it has been quiet?
A quiet period can coincide with an application pool reaching its configured idle timeout. When the worker process is no longer running, a later request may need to start the application again. Check the pool’s idle timeout alongside IIS and application startup events before changing settings; a slow first request alone does not prove that the server lacks CPU or memory.
How can I tell whether a slow .NET 10 IIS request followed idle shutdown or recycling?
Compare the request timestamp with the application pool’s configured idle timeout, IIS event records, and application startup logs. A matching idle-shutdown event suggests one path; a scheduled or configuration-triggered recycle points to another. Also compare behavior after a server restart, because it introduces a different startup sequence. Keep the same request and logging method for each comparison.
Does setting an IIS application pool to AlwaysRunning eliminate cold starts?
No. AlwaysRunning can keep the pool ready to start, but it does not by itself prove that the application has completed useful initialization or that its dependencies are ready. Review the site’s preload setting, Application Initialization configuration, startup logs, and the endpoint used for warm-up. Confirm the result with a real request and check resource use before keeping the change.
How do I verify that Application Initialization warmed an ASP.NET Core app?
Confirm that the IIS Application Initialization feature is installed and that the site or application has the intended preload and initialization settings. Then inspect application logs to see whether startup completed and whether the configured warm-up URL reached the correct application. Finally, test after an idle period, a pool recycle, and a server restart; a configured warm-up request is not proof that the business path is ready.
Further reading
Test Your IIS Workload on Dedicated AMD Hardware
Choose an IronStp AMD EPYC server with 32 cores and 64 threads for your Windows application environment.