国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > IIS > 正文

IIS的W3SVC服務由于性能記數器錯而當機的解決辦法

2024-08-29 02:57:10
字體:
來源:轉載
供稿:網友

剛剛正在群里聊得起勁呢,朋友Q我說,近幾天他有一臺web服務器訪問不是很快,而且一天當機一次,服務器系統資源占用消耗也并不是很大。當機時出現頁面幾乎打不開的情況。根據pathping 和tracert統計值每一個hop都不大,不存在time out的情況。重起IIS后,速度恢復,但過半天又當了。

因為這臺服務器安全一直是我在負責,呵呵,應該不大可能出現被入侵的情況。于是上服務器:
查應用程序日志發現有警告信息如下:
事件類型: 警告
事件來源: Perflib
事件種類: 無
事件 ID: 2003
日期:  2005-11-18
事件:  20:49:08
用戶:  N/A
計算機: SERVER00
描述:
"W3SVC" 服務的性能庫 "C:WINDOWSsystem32inetsrvw3ctrs.dll" 的配置信息  同在注冊表中保存的受信任性能庫信息不匹 配。此庫中的函數不會作為受信任函數處理。有關更多信息,請參閱在 http://go.microsoft.com/fwlink/events.asp 的幫助和支持中心。

呵呵,找到答案了,是性能記數據器在作怪,呵呵。再Search一下發現:

SYMPTOMSAfter you install Windows 2000 on a drive that uses the FAT or FAT32 file system (that was formatted during the installation process) and install Internet Information Services (IIS) in the same Setup process, event ID 2003 warning messages may appear in the Application event log when you start System Monitor and add counters. This issue does not occur with NTFS drives that do not have a service pack, if the FAT or FAT32 drive is formatted before you run Windows 2000 Setup, or if you add IIS later. The event ID 2003 warning message has the following text:
The configuration information of the performance library "C:/WINNT/system32/w3ctrs.dll" for the "W3SVC" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted.

The configuration information of the performance library "C:/WINNT/system32/infoctrs.dll" for the "InetInfo" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted.

The configuration information of the performance library "C:/WINNT/system32/aspperf.dll" for the "ASP" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted. RESOLUTIONTo resolve this problem, run the following commands at a command prompt in the %SystemRoot%/System32 folder to unload and reload the IIS performance dynamic-link libraries (DLLs). After you run these commands, the warning messages are not logged:

unlodctr w3svc
unlodctr msftpsvc
unlodctr asp
unlodctr inetinfo
lodctr w3ctrs.ini
lodctr ftpctrs.ini
lodctr axperf.ini
lodctr infoctrs.ini


將后面(紅色部份)幾條命令編輯成bat或者vbs批處理文件執行一次,網站訪問速度迅速恢復。
后來要觀察一天后,確定訪問頁面難以打開就是因為此問題所致;經過以后幾天觀察,服務器運行穩定。

本文作者:李泊林/Leebolin  Email:Leebolin#ServerSTeam.Org
來源: 服務器安全資源網 服務器安全討論區
原始地址:http://www.31896.net/html/2005-11-28/2156224083.shtml
http://www.fineacer.org/SHtml/Article/4382.shtml

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 星子县| 田林县| 巢湖市| 拉孜县| 新竹县| 山东| 莱芜市| 襄垣县| 石嘴山市| 宿州市| 古交市| 临湘市| 措勤县| 莱西市| 治多县| 涿州市| 鞍山市| 慈利县| 商丘市| 泾川县| 横峰县| 广德县| 来凤县| 岳阳市| 碌曲县| 宁晋县| 黄大仙区| 阳春市| 柘城县| 留坝县| 绥化市| 清原| 勃利县| 瑞昌市| 横峰县| 营口市| 南宁市| 诸暨市| 开远市| 五台县| 比如县|