完整的紀錄如下 : |
---|
日期 2020/9/5 下午 08:33:00
記錄檔 SQL Server (封存 #2 - 2020/9/6 上午 12:04:00)
來源 spid91
訊息
CImageHelper::Init () Failed load of symbol file with path = C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\Binn\;C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\BINN Error Code 0xc0000004 |
---|
這個狀況我已經看到過兩次 |
---|
但這次是發生在一套很重要的系統 |
我只好多花點心思 |
因為它是AG |
所以我先看了AG的extended event |
沒有什麼狀況 |
再來就是去看了health 的extended event |
嘿嘿........有了 |
resource lastNotification="RESOURCE_MEMPHYSICAL_HIGH" outOfMemoryExceptions="0" isAnyPoolOutOfMemory="0" processOutOfMemoryPeriod="0">
<memoryReport name="Process/System Counts" unit="Value">
<entry description="Available Physical Memory" value="5367054336" />
<entry description="Available Virtual Memory" value="140668980117504" />
<entry description="Available Paging File" value="9076842496" />
<entry description="Working Set" value="25495670784" />
<entry description="Percent of Committed Memory in WS" value="97" />
<entry description="Page Faults" value="28104745" />
<entry description="System physical memory high" value="1" />
<entry description="System physical memory low" value="0" />
<entry description="Process physical memory low" value="0" />
<entry description="Process virtual memory low" value="0" />
</memoryReport>
<memoryReport name="Memory Manager" unit="KB">
<entry description="VM Reserved" value="66298300" />
<entry description="VM Committed" value="25599992" />
<entry description="Locked Pages Allocated" value="0" />
<entry description="Large Pages Allocated" value="0" />
<entry description="Emergency Memory" value="1024" />
<entry description="Emergency Memory In Use" value="16" />
<entry description="Target Committed" value="25600000" />
<entry description="Current Committed" value="25599992" />
<entry description="Pages Allocated" value="24821000" />
<entry description="Pages Reserved" value="0" />
<entry description="Pages Free" value="35744" />
<entry description="Pages In Use" value="2054944" />
<entry description="Page Alloc Potential" value="22265056" />
<entry description="NUMA Growth Phase" value="2" />
<entry description="Last OOM Factor" value="0" />
<entry description="Last OS Error" value="0" />
</memoryReport>
</resource>
因為沒發生任何的交易失敗 |
---|
查了whoisactive在兩個instance當時發生的歷史資料 |
也沒什麼量 |
我在想...... 應該只是一個singal |
作業系統在告訴SQLOS |
該把記憶體吐回來給我用 |
在系統上查看也確實佔了27~28GB |
我想了一下 |
我就把MAX MEMROY的設定往下調整 |
看到記憶體使用量下降之後 |
我就再把MAX往上調 |
前一個case我在internet上查過 |
---|
微軟的技術社群也沒人提出一個解決方式 |
只是建議上patch |
因為回文的人認為有可能是memory leak |
但who knows ...... |
反正沒發生系統障礙 |
就當成我自己的研究case |
我也懶得去動用公司的資源 |
跟微軟開call |
太麻煩了~~ |