|
Home > Archive > IIS Server > February 2004 > Turn Off Cache ISAPI Applications in IIS 6.0
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Turn Off Cache ISAPI Applications in IIS 6.0
|
|
|
| Hi,
I have a webserver with a large number of sites, each
running in their own application pool. Should I disable
ISAPI caching? It seems logical to me that I would have
a low cache hit ratio and that running the cache would
actually slow me down. There is no perf mon counter that
I can see to monitor the isapi cache hit/miss rate, so I
really can't say for sure.
Any thoughts?
Thanks!
Sincerley,
JR
| |
| David Wang [Msft] 2004-02-16, 10:35 am |
| No.
ISAPI Caching (the check box you see in "Application Mappings" tab) should
always be enabled unless you are debugging certain ISAPI behavior.
You can suffer strange behaviors, including crashes and lousy performance,
if you uncheck that checkbox, and we absolutely won't do anything other than
tell you to turn it back on since the issue is your misconfiguration.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"JR" <anonymous@discussions.microsoft.com> wrote in message
news:1081701c3f4aa$f656d7d0$a101280a@phx
.gbl...
Hi,
I have a webserver with a large number of sites, each
running in their own application pool. Should I disable
ISAPI caching? It seems logical to me that I would have
a low cache hit ratio and that running the cache would
actually slow me down. There is no perf mon counter that
I can see to monitor the isapi cache hit/miss rate, so I
really can't say for sure.
Any thoughts?
Thanks!
Sincerley,
JR
| |
| Wade A. Hilmo [MS] 2004-02-17, 2:34 am |
| Hi JR,
One more thing that I would like to add is that you cannot disable ISAPI
caching in IIS 6. IIS 6 ignores the check box in the MMC to do this.
Despite the name, this is not a perfomance tuning issue. The feature to
disable ISAPI caching was added to previous versions of IIS for the sole
purpose of making it easier for a developer to write and debug an ISAPI
extension (by allowing the developer to build a revised version of the dll
without a link error due to IIS having it locked.) Since IIS 6 allows you
to stop an application pool, or even run a worker process from the command
line during development and debugging of an ISAPI, there is no need for this
feature any more.
Note that there is no reason whatsoever to turn off ISAPI caching on a
production server. There are known cases where ISAPI extensions can and
will crash if you force them to load/unload per request. And, as David
says, there is no support for running with ISAPI caching disabled on any
version of IIS.
Thank you,
-Wade A. Hilmo,
-Microsoft
"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:ucOQEPO9DHA.2656@TK2MSFTNGP11.phx.gbl...
> No.
>
> ISAPI Caching (the check box you see in "Application Mappings" tab) should
> always be enabled unless you are debugging certain ISAPI behavior.
>
> You can suffer strange behaviors, including crashes and lousy performance,
> if you uncheck that checkbox, and we absolutely won't do anything other
than
> tell you to turn it back on since the issue is your misconfiguration.
>
> --
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "JR" <anonymous@discussions.microsoft.com> wrote in message
> news:1081701c3f4aa$f656d7d0$a101280a@phx
.gbl...
> Hi,
>
> I have a webserver with a large number of sites, each
> running in their own application pool. Should I disable
> ISAPI caching? It seems logical to me that I would have
> a low cache hit ratio and that running the cache would
> actually slow me down. There is no perf mon counter that
> I can see to monitor the isapi cache hit/miss rate, so I
> really can't say for sure.
>
> Any thoughts?
>
> Thanks!
>
> Sincerley,
> JR
>
>
|
|
|
|
|