IT学习者 | 站长学院 | 技术文档 | 成语 | 歇后语 | 桌面壁纸 | 天气预报 | 帝国时代 | 生日密码 | 代码收藏 | 厦门天气 | IP地址查询 | 生活百科

IIS的W3SVC服务由于性能记数器错而当机的解决办法

【 来源:服务器安全资源网 作者:佚名 更新时间:2006-06-24 | 字体:

刚刚正在群里聊得起劲呢,朋友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

  • 转载请注明来源:IT学习者 网址:http://www.itlearner.com/ 向您的朋友推荐此文章
  • 文章关键词:  IIS  W3SVC  性能记数器 
  • 特别声明: 本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系我们,我们会尽快予以更正。
RSS订阅
  • 抓虾
  • google reader
  • 鲜果
  • QQ邮箱

音乐
犯贱 月光 包容 想你了 甩葱歌 黄梅戏 爱情错觉 星月神话 这就是爱 最幸福的人 爱笑的眼睛 321对不起 你不知道的事 看透爱情看透你 你还欠我一个拥抱
忐忑 爱过 浮夸 猜不透 洛丽塔 错的人 爱情买卖 和平分手 等你爱我 没那么简单 我的心好冷 姑娘我爱你 在回忆中死去 我的爱情不见了 你在我心中是最美
她说 偏爱 素颜 错错错 走天涯 套马杆 断桥残雪 爱是你我 郎的诱惑 客官不可以 我要去西藏 我的好兄弟 哥只是个传说 情歌没有告诉你 我和草原有个约定
天真 王妃 小三 爱琴海 要抱抱 单身歌 埋葬冬天 给力青春 荷塘月色 最好不相见 最炫民族风 新贵妃醉酒 贝多芬的悲伤 大笑江湖主题曲 给我一个理由忘记
加入收藏留言建议ASP探针PHP探针站长Enjoy的BlogAboutDomain
© 2010 IT学习者 - itlearner.com
RunTime:40.33ms