日期,源,严重性,消息
03/15/2014 14:50:05,,信息,[098] SQLServerAgent 已终止(一般)
03/15/2014 14:50:05,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:05,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:03,,警告,[360] SQLServerAgent 在 MSSQLSERVER 关闭后开始关闭
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/15/2014 14:50:02,,错误,[359] 本地主机服务器未运行
03/13/2014 16:07:06,,警告,[396] 尚未定义空闲 CPU 条件 - OnIdle 作业计划将不起任何作用
03/13/2014 16:07:06,,警告,[260] 无法启动邮件会话(原因: 没有定义邮件配置文件)
03/13/2014 16:07:06,,信息,[129] SQLSERVERAGENT 在 Windows NT 服务控制下启动
03/13/2014 16:07:06,,错误,[364] 尚未启动 Messenger 服务 - 将不发送 NetSend 通知
03/13/2014 16:07:00,,信息,[432] 子系统缓存中有 12 个子系统
03/13/2014 16:06:58,,信息,[339] 本地计算机是 WINSERVER-WJ,运行的是 Windows NT 5.2 (3790) Service Pack 2
03/13/2014 16:06:58,,信息,[310] 检测到 4 个处理器和 4096 MB RAM
03/13/2014 16:06:58,,信息,[103] 驱动程序使用的 NetLib 是 DBNETLIB.DLL;本地主机服务器是
03/13/2014 16:06:58,,信息,[102] SQL Server ODBC 驱动程序版本 10.50.1600
03/13/2014 16:06:58,,信息,[101] SQL Server WINSERVER-WJ 版本 10.50.1600 (连接限制: 0)
03/13/2014 16:06:58,,信息,[100] Microsoft SQLServerAgent 版本 10.50.1600.1 (内部版本号 x86 unicode 零售): 进程 ID 1924
03/13/2014 16:06:18,,信息,[393] 正在等待 SQL Server 恢复数据库...

解决方案 »

  1.   

    这个日志看不出问题,看看Windows的日志
      

  2.   

    如果找不到原因,最好从Windows日志开始查起,然后再看sqlserver的错误日志
      

  3.   

    另外一个检查思路:Windows自动更新,看看是否有这个可能,因为有时候要么因为自动更新导致重启,要么就是更新过程中下载了一些影响sqlserver的补丁,导致启动失败
      

  4.   

    出现这种错误日志后,我手动启动sql和sql代理是正常的,但是搞不懂为什么它不会自己启动。
      

  5.   


    你原来的sql和代理,的服务是自动启动吗,如果是自动启动,一般都会自动启动的。
      

  6.   

    this is sql agnt error log not sql error log, please post your sql server error log first. In addtion, you can also check your event log, may have some useful information. 
      

  7.   

    03/21/2014 10:40:05,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:40:05,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:40:04,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:40:04,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:55,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:55,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:55,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:55,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:55,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:55,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:55,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:55,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:54,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:54,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:50,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:50,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:44,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:44,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:44,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:44,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:44,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:44,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:44,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:44,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:44,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:44,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:44,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:44,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:21,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:21,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:21,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:21,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:21,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:21,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:20,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:20,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:20,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:20,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:39:20,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:39:20,spid51,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,Error: 701<c/> Severity: 17<c/> State: 123. (Params:). The error is printed in terse mode because there was error during formatting. Tracing<c/> ETW<c/> notifications etc are skipped.
    03/21/2014 10:38:54,spid57,未知,Error: 701<c/> Severity: 17<c/> State: 123. (Params:). The error is printed in terse mode because there was error during formatting. Tracing<c/> ETW<c/> notifications etc are skipped.
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
    03/21/2014 10:38:54,spid57,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:38:54,spid57,未知,错误: 701,严重性: 17,状态: 123。
      

  8.   

    事件种类: 无
    事件 ID: 6
    日期: 2014-3-21
    事件: 11:02:23
    用户: N/A
    计算机: WINSERVER-WJ
    描述:
    达到 50 事件的 crypt32 阈值,将挂起记录 60 秒有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。事件类型: 错误
    事件来源: crypt32
    事件种类: 无
    事件 ID: 8
    日期: 2014-3-21
    事件: 11:02:23
    用户: N/A
    计算机: WINSERVER-WJ
    描述:
    从 <http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootseq.txt> 自动更新检索第三方的根目录列表序列号失败,错误为: 此网络连接不存在。
    有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
    事件类型: 错误
    事件来源: crypt32
    事件种类: 无
    事件 ID: 8
    日期: 2014-3-21
    事件: 11:02:23
    用户: N/A
    计算机: WINSERVER-WJ
    描述:
    从 <http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootseq.txt> 自动更新检索第三方的根目录列表序列号失败,错误为: 此网络连接不存在。
    有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。事件类型: 错误
    事件来源: crypt32
    事件种类: 无
    事件 ID: 8
    日期: 2014-3-21
    事件: 11:01:27
    用户: N/A
    计算机: WINSERVER-WJ
    描述:
    从 <http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootseq.txt> 自动更新检索第三方的根目录列表序列号失败,错误为: 由于超时时间已过,该操作返回。
    有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
      

  9.   

    关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
      

  10.   

    Quote: 引用 22 楼 pengpeng409 的回复:

    03/21/2014 10:40:05,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
    03/21/2014 10:40:05,spid51,未知,错误: 701,严重性: 17,状态: 123。
    Quote:
    你是不是 32 bit Windows 2003 ,检查下PAE , AWE, lock page in memory, max memory, min memory有没有设置。
    用perfmon 看一下你的 available memory 和  sql server comitted memory是不是正常是否启动了audit login 
      

  11.   

    你这个根据我的经历是因为有性能及其垃圾的代码在运行,然后服务器本身就处于压力下,然后就压挂了。os和sql是32位吗?
      

  12.   


    没有使用哪个?awe和audit  login
      

  13.   

    设置以后要重启sql 和服务器吗
      

  14.   

    设置以后要重启sql 和服务器吗 
      

  15.   

    非DATA BUFFER资源耗尽,最简单的办法是升级为64位
    改善及优化系统也能解决问题,但可能需要成本,比如技术支持费用
      

  16.   


    不需要重启好的,谢谢。我先试一段时间。看看还会出现该问题。启动AWE后,还要在改变你SQL Box的local security policy, 把你的SQL service account 放到lock page in memory 里. 如果你们是企业级的group policy, 那么让域名管理员加入.请参考: http://msdn.microsoft.com/en-us/library/ms190730.aspx
      

  17.   


    不需要重启好的,谢谢。我先试一段时间。看看还会出现该问题。启动AWE后,还要在改变你SQL Box的local security policy, 把你的SQL service account 放到lock page in memory 里. 如果你们是企业级的group policy, 那么让域名管理员加入.请参考: http://msdn.microsoft.com/en-us/library/ms190730.aspx
    代理用户有什么好处吗?域管理好像没有用啊
      

  18.   


    不需要重启好的,谢谢。我先试一段时间。看看还会出现该问题。启动AWE后,还要在改变你SQL Box的local security policy, 把你的SQL service account 放到lock page in memory 里. 如果你们是企业级的group policy, 那么让域名管理员加入.请参考: http://msdn.microsoft.com/en-us/library/ms190730.aspx
    代理用户有什么好处吗?域管理好像没有用啊为什么用 sql server proxy 请参考: http://technet.microsoft.com/en-us/library/ms188470.aspx
    我这里利用代理跑一些数据库维护的job , 需要设置最少的最适合的和一些特殊的权限给代理。不用运行在agent service account 下。
      

  19.   


    不需要重启好的,谢谢。我先试一段时间。看看还会出现该问题。启动AWE后,还要在改变你SQL Box的local security policy, 把你的SQL service account 放到lock page in memory 里. 如果你们是企业级的group policy, 那么让域名管理员加入.请参考: http://msdn.microsoft.com/en-us/library/ms190730.aspx
    代理用户有什么好处吗?域管理好像没有用啊为什么用 sql server proxy 请参考: http://technet.microsoft.com/en-us/library/ms188470.aspx
    我这里利用代理跑一些数据库维护的job , 需要设置最少的最适合的和一些特殊的权限给代理。不用运行在agent service account 下。使用上面设置后还是不行啊,sql 2008 r2还是会自动停止不会自动启动(sql默认为自动启动的)
      

  20.   


    假设你已经确认了这个是非人为的重起:
    (1) 检查下操作系统是不是重新启动了? 是的话为什么, 例如打Windows补丁?
    (2) 是不是SQL 实例崩溃?检查你的SQL Error Log (不要问我这个文件在哪里,google  会告诉你)sql reboot 前最后的log 是什么,是 reboot 前的最后出错信息,贴上来。Windows Event Viewer 也会告诉你一些可能有用的信息。你以前贴过这个,操作系统内存不足。我假设你有16 GIB内存,应该要限制SQL 使用80% 内存,留20% 给操作系统。所以你的最大 SQL 内存应该设置成12 gib. 至少排除了你应为内存不足造成SQL 崩溃的可能性,sql buffer pool内存不足最多造成你查询慢点,不会重起sql,通常sql auto reboot 就是实例自恢复,都是 sev 21 以上的错误造成的,绝对会有错误日志的。顺便问下,你的服务器是单纯的SQL服务器吗? 还是有别的应用在一起? 03/21/2014 10:40:05,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
     03/21/2014 10:40:05,spid51,未知,错误: 701,严重性: 17,状态: 123。
      

  21.   


    假设你已经确认了这个是非人为的重起:
    (1) 检查下操作系统是不是重新启动了? 是的话为什么, 例如打Windows补丁?
    (2) 是不是SQL 实例崩溃?检查你的SQL Error Log (不要问我这个文件在哪里,google  会告诉你)sql reboot 前最后的log 是什么,是 reboot 前的最后出错信息,贴上来。Windows Event Viewer 也会告诉你一些可能有用的信息。你以前贴过这个,操作系统内存不足。我假设你有16 GIB内存,应该要限制SQL 使用80% 内存,留20% 给操作系统。所以你的最大 SQL 内存应该设置成12 gib. 至少排除了你应为内存不足造成SQL 崩溃的可能性,sql buffer pool内存不足最多造成你查询慢点,不会重起sql,通常sql auto reboot 就是实例自恢复,都是 sev 21 以上的错误造成的,绝对会有错误日志的。顺便问下,你的服务器是单纯的SQL服务器吗? 还是有别的应用在一起? 03/21/2014 10:40:05,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
     03/21/2014 10:40:05,spid51,未知,错误: 701,严重性: 17,状态: 123。单纯的sql服务器,没有别的应用。还有一个oracle客户端,别的没有了。
      

  22.   


    假设你已经确认了这个是非人为的重起:
    (1) 检查下操作系统是不是重新启动了? 是的话为什么, 例如打Windows补丁?
    (2) 是不是SQL 实例崩溃?检查你的SQL Error Log (不要问我这个文件在哪里,google  会告诉你)sql reboot 前最后的log 是什么,是 reboot 前的最后出错信息,贴上来。Windows Event Viewer 也会告诉你一些可能有用的信息。你以前贴过这个,操作系统内存不足。我假设你有16 GIB内存,应该要限制SQL 使用80% 内存,留20% 给操作系统。所以你的最大 SQL 内存应该设置成12 gib. 至少排除了你应为内存不足造成SQL 崩溃的可能性,sql buffer pool内存不足最多造成你查询慢点,不会重起sql,通常sql auto reboot 就是实例自恢复,都是 sev 21 以上的错误造成的,绝对会有错误日志的。顺便问下,你的服务器是单纯的SQL服务器吗? 还是有别的应用在一起? 03/21/2014 10:40:05,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
     03/21/2014 10:40:05,spid51,未知,错误: 701,严重性: 17,状态: 123。单纯的sql服务器,没有别的应用。还有一个oracle客户端,别的没有了。
    从错误日志来看
    是内存的stolen那部分内存不足
    原因可能有
    1)程序第三方代码造成的 申请的内存没有及时释放掉 导致stolen那部分内存不足 越来越少 最后挂掉
       重启后 正常运行一段时间后 还可能出现类似问题
    2)SQL客户端连接太多 线程太多 每个线程都要占内存
    3)客户端运行了超级复杂的语句(比如复杂的统计),如果可能 将统计工作放到OLAP上做看看开始报701错误之前还有什么有用信息
      

  23.   

    你的操作系统是64bit
    SQLServer是多少bit 如果是32bit stolen那部分内存还是有申请限制的
    同时监控下内存情况 看看是不是那个
    oracle客户端 使用了大量的内存 反过来压迫SQLServer的内存
      

  24.   

    03/21/2014 10:38:54,spid57,未知,Error: 701<c/> Severity: 17<c/> State: 123. (Params:). The error is printed in terse mode because there was error during formatting. Tracing<c/> ETW<c/> notifications etc are skipped.
    03/21/2014 10:38:54,spid57,未知,Error: 701<c/> Severity: 17<c/> State: 123. (Params:). The error is printed in terse mode because there was error during formatting. Tracing<c/> ETW<c/> notifications etc are skipped.
      

  25.   


    假设你已经确认了这个是非人为的重起:
    (1) 检查下操作系统是不是重新启动了? 是的话为什么, 例如打Windows补丁?
    (2) 是不是SQL 实例崩溃?检查你的SQL Error Log (不要问我这个文件在哪里,google  会告诉你)sql reboot 前最后的log 是什么,是 reboot 前的最后出错信息,贴上来。Windows Event Viewer 也会告诉你一些可能有用的信息。你以前贴过这个,操作系统内存不足。我假设你有16 GIB内存,应该要限制SQL 使用80% 内存,留20% 给操作系统。所以你的最大 SQL 内存应该设置成12 gib. 至少排除了你应为内存不足造成SQL 崩溃的可能性,sql buffer pool内存不足最多造成你查询慢点,不会重起sql,通常sql auto reboot 就是实例自恢复,都是 sev 21 以上的错误造成的,绝对会有错误日志的。顺便问下,你的服务器是单纯的SQL服务器吗? 还是有别的应用在一起? 03/21/2014 10:40:05,spid51,未知,There is insufficient system memory in resource pool 'default' to run this query.
     03/21/2014 10:40:05,spid51,未知,错误: 701,严重性: 17,状态: 123。单纯的sql服务器,没有别的应用。还有一个oracle客户端,别的没有了。
    从错误日志来看
    是内存的stolen那部分内存不足
    原因可能有
    1)程序第三方代码造成的 申请的内存没有及时释放掉 导致stolen那部分内存不足 越来越少 最后挂掉
       重启后 正常运行一段时间后 还可能出现类似问题
    2)SQL客户端连接太多 线程太多 每个线程都要占内存
    3)客户端运行了超级复杂的语句(比如复杂的统计),如果可能 将统计工作放到OLAP上做看看开始报701错误之前还有什么有用信息
    03/21/2014 10:38:54,spid57,未知,Error: 701<c/> Severity: 17<c/> State: 123. (Params:). The error is printed in terse mode because there was error during formatting. Tracing<c/> ETW<c/> notifications etc are skipped.
    03/21/2014 10:38:54,spid57,未知,Error: 701<c/> Severity: 17<c/> State: 123. (Params:). The error is printed in terse mode because there was error during formatting. Tracing<c/> ETW<c/> notifications etc are skipped.