网站首页 手机版
 注册 登录
您现在的位置: 畅无忧设计 >> 服务器 >> Web服务器 >> 正文
最新文章
· 数据库链接出错!请检查字符串!解决
· Windows 2003 64位下ASP无法连接Acce
· 重装win2008系统:iis配置备份和还原
· IIS最小权限分配的批处理文件
· 中文域名如何绑定到IIS
· IIS 添加网站显示错误消息“无更多可
· IIS中没有asp.net选项卡
· 如何在IIS上搭建WAP网站
· PHPnow安装过程
· IIS备份还原方法
热门文章
 重装win2008系统:iis配置备份和还
 如何配置IIS让服务器支持流媒体播放
 清除服务器IIS缓存的方法
 IIS 添加网站显示错误消息“无更多
 IIS中没有asp.net选项卡
 IIS中配置多个网站
 IIS备份还原方法
 中文域名如何绑定到IIS
 Win2003服务器上SQL Server占用CPU
 在Vista/Win2008系统中IIS7下安装P
相关文章
没有相关文章
Win2003服务器上SQL Server占用CPU100%的解决办法
来源:百度空间 更新时间:2010/8/2 9:43:30 阅读次数:
字体:[ ] 我要投稿

问题:
Win2003服务器上SQL Server占用CPU100%,网站无法打开。

解决办法:
复制一下代码保存为批处理文件执行,然后重启IIS。
@echo off
echo 正在清除服务器垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除服务器LJ完成!
echo. & pause

  • 上一篇文章:
  • 下一篇文章:
  • 关于我们 - 联系我们 - 广告服务 - 在线投稿 - 友情链接 - 网站地图 - 版权声明
    CopyRight 2008-2010, CWYDESIGN.COM - 畅无忧设计, Inc. All Rights Reserved
    滇ICP备09005765号