app-pool

asp.net WCF service slow... will disabling asp.net app recycling help?

I have a WCF service that requires a certain response time (under 1 minute). My problem is that every so often, most often in the mornings the service takes a long time to respond (sometimes over 2 minutes). I'm thinking this is because the app has recycled and the first run must recompile. Are there other reasons this might happen? ...

Worker process reached its allowed processing time

We are experiencing this issue approximately once a month. It is very hard to pinpoint the cause so any help would be appreciated. This causes the App pool to stop and brings the site down. We have gone through all log files and have concluded nothing. We are using the 2.0.3 version on IIS 6. ...

How can I overcome a slow loading application with several app pools in IIS 7 ?

Hi, How can I overcome a slow loading application with several app pools in IIS 7 ? And not have requests wait for the server to load (in case of recycling) and create a queue. But have the server loaded while hitting recycle condition before the first requests arrives. Thanks, Oshrat. ...

IIS App Pool recycles don't appear to observe the specified schedule

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 recyc...

IIS App Pool

If my host automatically recycles the app pool when it reaches a certain size will this cause all users sessions to be lost and the user to be logged out? If this is the case would moving InProc sessions to SQL fix the issue? Would doing this also save much memory? Thanks Gavin ...

Automatically start up ASP.NET app pool?

Is there a way to automatically spin up an ASP.NET app pool after an IISRESET or the scheduled reset so that the initial user doesn't have to wait for the app pool to load? ...

When does IIS recycle the worker process?

When I setup an application pool for my web app in IIS 6 it defaults the worker process to recycle in 1740 minutes (29 hours). Does this recycle happen even if there is activity on the web site or only if there is inactivity for 29 hours? ...

Select to recycle worker processes after a specific period of inactivity.

Can anyone confirm that this statement "Select to recycle worker processes after a specific period of inactivity" in this Microsoft help file is wrong and should in fact not have the "of inactivity" at the end of it? ...

Drawback to creating a separate IIS application pool for each website / application

Currently, on our production IIS web farm, we host about 15 applications in a single App Pool (Default App Pool). There are two websites and about 13 virtual directories. A colleague has recommended that we change our IIS configuration so each application is a separate App Pool (with identical settings). Is there any drawback or potent...

IIS7/Win7 - App Pool is failing suddenly

After nearly 5 months with this configuration I am now getting a series of: "A process serving application pool 'Classic .NET AppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1640'." This leads to: Application pool 'Classic .NET AppPool' is being automatically disa...

How can you speed up the restart of an ASP.NET application?

What can I do to ensure that when an application/app pool restart is triggered, that the application comes back online as fast as possible? Better yet, is there a way to prevent the application restart when the usual triggers occur? Like modifying the web.config, global.asax, or machine.config? ...

How do I crash the App Pool?

Our ASP.NET 2 web application handles exceptions very elegantly. We catch exceptions in Global ASAX in Application_Error. From there we log the exception and we show a friendly message to the user. However, this morning we deployed the latest version of our site. It ran ok for half an hour, but then the App Pool crashed. The site did no...

Recycle IIS 6 AppPool set unhealthy flag

In an ISAPI Extention there is a way to programmatically flag an IIS AppPool as unhealthy, which means that it will be recycled on next access. (e.g. pecb->ServerSupportFunction(pecb->ConnID,HSE_REQ_REPORT_UNHEALTHY,UNHEALTHY,NULL,NULL); Is there any way to do the same using a .Net HttpModule? There is a HttpRuntime.UnloadAppDomain(), b...

Asp.Net App Pool Overlapped Recycling Timing?

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 Applic...