How to modify Application Pool Recycling events in IIS 6.0

???? ?????? ???? ??????
???? ID: 332088 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

This step-by-step article describes how to set the flags that control theLogEventOnRecycleproperty in the Internet Information Services (IIS) 6.0 metabase.

TheLogEventOnRecyclemetabase property is a DWORD that has various bit flags for what type of recycling will generate an entry in the system event log. When you troubleshoot an ISAPI extension that implements the new server support functionREPORT_UNHEALTHY, ?? ??? ???? ?? ?? ?? ISAPI ??????? ????? ??? ???????? ???????? ?? ??? ????? ??? ?? ???? ?? ??? ??????? ?????

???????????? ????????? pools ?? ?? ?????? ??, ?? ????? ???? ????? ????????? isolation ??? ?? ???? ???? ???

???? ???? ?? ??? ??

???????????? ???? ??? ??????? ?? ?????? ???? ???? ?? ???? ??? ??????? ??? ??????? ?????? ???? ?? ???? ???? ???? ?? ???? ??? ?? ????? ????? ?? ?? ??? ?????? ??? ?? ??? ???????????? ?? ???? ???? ??? ???? ?? ??? ???? ???? ?? ???? ??? ??????? ?? ??? "??????????? ?????/????????????" ??? ???? Microsoft ??????? ????? (MMC) ??? ??????

???? ?? ???? ???????????? ??????? Pools???? ?????????, ???? Adsutil.vbs ?? means ?????? ????? ????? ???????? ???????

???? ????????? Pools ?? ??? IIS ??????? ??? ???????? ??? ?? ????? ?? ????????? ???? ?? ???, ?? ???? ??????? ??? ????? ?? ???, ????? ????? ?? ???? ????:
  1. ?? ????? ????????? ?????: ????? ???????????????? ????,?????, ?? ??? ???? ????
    cmd.
  2. ????????? ???? ?? ??? ?????????? ???? Adsutil ?????? ????? ??? ??????? ?????????? ????? ????? ??:% SYSTEMROOT %\Inetpub\AdminScripts
  3. ????? ???? ???? ????:
    CScript adsutil.vbs ??? w3svc/AppPools

???? ?? ??????????

?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????

??????? ???

?????:

AppPoolRecycleTime??? ???-?????? ?? ??? ????? recycles ??? ???? ?? ??? ??? ?????
AppPoolRecycleRequests??? ?? ??????-?????? ?? ?????? ??? ????? recycles ??? ???? ?? ??? ??? ?????
AppPoolRecycleSchedule??? ??????? ???? ?? ??? ????? recycles ??? ???? ?? ??? ??? ?????
AppPoolRecycleMemory??? ??????-?????? ??????? ?? ????? ??? ?? ???? ?? ??? ??? ??? ?????
AppPoolRecycleIsapiUnhealthy?? ????? ??????????? ?????? recycles ??????? ??? ISAPI ??????? ???? ??? ??? ???? ?? ??? ????? ??? true.
AppPoolRecycleOnDemand?? ??? ?????????? ?????? ?? ??? ???? ?? ??? ????????? ??? ??? ??? ??????????? ?? ?? ??????? ??? ????? true.
AppPoolRecycleConfigChange??? ??? ????????? ??? ????????? ?? ??????? ??? ??? ??????? ?? ??????? ???? ?? ??? ?????? ????????? ??? ????? ??? ?? ?? ???? ????? ??? ?? ???? ?? ??? ??? ??? ?????
AppPoolRecyclePrivateMemory??? ????? ??? ??? ????????? ??? ????????? ?? ?? ??? ???? ?? ??? ???? ?????? ?? ?????? true.
????????????????? ???IdleTimeout??? ?????? ???? ??LogEventOnRecycle???? ??? ??? ?????, ?? ??? ????????? ??? ?? ??? ???????IdleTimeout??? ?? ????? ??, ????? ??? ????????? ??? ???? ??????

???? ??? ????

Adsutil.vbs ?? ????? ?? ?? ????? ??? ?? ???? ???? ??? ???? ?? ???AppPoolRecycleMemory???? ?? ??? ?????? ????FALSE??????? ????????? ???, ?? ??? ????? ????? ?? ???? ????:
  1. ????? ????,???????????? ????,?????, ?? ??? ???? ????cmd????? ????????? ???
  2. ????????? ???? ?? ??? ?????????? ???? Adsutil ????? ??? ??????? ?????????? ????? ????? ??:% SYSTEMROOT %\Inetpub\AdminScripts
  3. ????? ???? ???? ????:
    CScript adsutil.vbs w3svc/AppPools/DefaultAppPool/AppPoolRecycleMemory false ??? ?????
???:?? ???? ?? ?????LogEventOnRecycle??? ?? ????? ???? ??? ??? ??? ?? ???? ErrNumber ?? ??? ????:-2147463164 (0x80005004), ???? ???? ????? ???? ??????LogEventOnRecycle???? ????? ???? ?? ???LogEventOnRecycle???, ?? ????? ???? ?????:
  • ??? ???? ?? ??? ??? ??? FALSE, ????? ???? ?????:
    CScript adsutil.vbs w3svc/AppPools/DefaultAppPool/LogEventOnRecycle 0 ??? ????
  • ??? ??? TRUE ?? ??? ??, ?? ??? ????? ???? ?????:
    CScript adsutil.vbs w3svc/AppPools/DefaultAppPool/LogEventOnRecycle 255 ??? ????
???:?? ?????? ?? ??? ?? ??????????? ??? ??????? ????? ?? ???? ?? ???? ???????? ?? ???? ??? ?? ???? ??? ??????? ??? ?? ?? ??????? ?? ??? ??????, TechNet ??? ???? ?? ????:
LogEventOnRecycle
HTTP://www.Microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6f43da84-38b0-422b-aa2b-195643d05d22.mspx

????? ??? ?????????

????? ??? ??? ????? ????? ????? ???? ???
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???? ??? ?? ??? ???? ?? ???????? ?? ????? ???? ???????? ID:
AppPoolRecycleTime????????? id "XXXX" serving ????????? ??? "AppPoolName" ?? ??? ?? ????? ????????? ????? ????????? ???? ?????? ?? ????????? ???? ?? ????? ???? ?? ??????? ??? ??????? ???????? ???1074
AppPoolRecycleRequests"XXXX" "AppPoolName" ????????? ??? serving ????????? id ?? ??? ?? ????? ????????? ???? ??????? ?????? ???? ?? ??????? ??? ???? ?????? ???? ?? ????? ?? ???1075
AppPoolRecycleSchedule????????? id "XXXX" "AppPoolName" ????????? ??? serving ?? ??? ?? ????? ????????? ???? ??????? ?????? ???? ?? ??????? ???? ??????? ??? ?? ??????? ??? ?? ?? ???1076
AppPoolRecycleMemory????????? id "XXXX" serving ????????? ??? "AppPoolName" ?? ??? ?? ????? ????????? ???? ??????? ?????? ???? ?? ??????? ??? ???? ??????? ?????? ?? ???? ?? ????? ?? ???1077
AppPoolRecycleIsapiUnhealthy??? ????? ????????? "XXXX" "AppPoolName" ?? ??????? ???????? ?? ??????? ??? ??? ???? ??? ??? ISAPI ???? ?? ??????? ???? ?? ?? ?? ??????? ?? ?????? ???? ??? ????????? serving ????????? id ?? ????1078
AppPoolRecycleOnDemand??? ?????????? "AppPoolName" ????????? ??? ??? ??? ????? ??????????? ?? ?? ??????? ?? ?????? ???? ???1079
AppPoolRecycleConfigChange????????? ??? "AppPoolName" serving ????? ??????????? ??? ????????? ??? ??? ?? ??????????? ?? ?? ???????? necessitate 1 ?? ???? ??????????? ???????? ?? ???? recycled ?? ?? ??? ????1080
AppPoolRecyclePrivateMemory"XXXX" "AppPoolName" ????????? ??? serving ????????? id ?? ??? ?? ????? ????????? ???? ??????? ?????? ???? ?? ??????? ?? ???? ???? ?????? ?????? ???? ?? ????? ?? ???1177

?????? ??????

?????? ?? ??? ?? ??????????? ??? ?? ?? ????? ??? ??, ?? ????? ?? ???? ????????? ?? ???? ??? ??????? ??? ?? ?? ??????? ?? ??? ??????, TechNet ??? ???? ?? ????:
??????? ????? ?? ???????? ???? ?? ??? ??? ?? ??????
HTTP://technet2.Microsoft.com/windowsserver/EN/technologies/featured/IIS/default.mspx

??????

????????? pools ?? ???? ??? ???? ??????? ?? ??? ????? TechNet ??? ???? ?? ????????? ?????:
???? ????????? pools (IIS 6.0) ?????
HTTP://www.Microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/67e39bd8-317e-4cf6-b675-6431d4425248.mspx
????? ????????? ??????? ?? ???? ??? ???? ??????? ?? ??? ????? TechNet ??? ???? ?? ????????? ?????:
????? ??????????? (IIS 6.0) ???????
HTTP://www.Microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/1652e79e-21f9-4e89-bc4b-c13f894a0cfe.mspx

???

???? ID: 332088 - ????? ???????: 04 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Internet Information Services 6.0
??????: 
kbhowtomaster kbpending kbprb kbmt KB332088 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:332088

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com