Thursday, May 9, 2013

Event ID 2137- The SharePoint Health Analyzer detected an error. Drives are running out of free space.




Event Details

Product:
Windows SharePoint Services
ID:
2137
Source:
Windows SharePoint Services 3
Version:
12.0
Symbolic Name:
ULSEvtTag_2137
Message:              


The SharePoint Health Analyzer detected an error.
Drives are running out of free space. 
Available drive space is less than twice the value of physical memory. 
This is dangerous because it does not provide enough room for a full memory dump with continued operation. 
It also could cause problems with the Virtual Memory swap file:  (SBS2011 - C:\).
Examine the failing servers and delete old logs or free space on the drives. 
For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142688".



שלום חברים,
היום ביקרתי אצל לקוח שלנו ונדרשתי לעבור על Error  ו- Warnings בשרתיי הייצור. לאחר מעבר על ה-Logs עלו מספר שגיאות שאחת מהם הייתה השגיאה הבאה : 


The SharePoint Health Analyzer detected an error.
Drives are running out of free space. 
Available drive space is less than twice the value of physical memory. 
This is dangerous because it does not provide enough room for a full memory dump with continued operation. 
It also could cause problems with the Virtual Memory swap file:  (SBS2011 - C:\).
Examine the failing servers and delete old logs or free space on the drives. 
For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142688".

השגיאה מדברת על בעיה תשתיתית בחווה, ישנו Job שרץ בפרקי זמן שמוגדים לו ב- Health Analyzer Rule  תחת Monitoring וה-Job בודק את הדבר הבא : הנפח של הדיסק ביחס לזכרון בשרת ( System Disk בדר"כ כונן C). כאשר נפח הדיסק הוא פחות מפי 2 מהזכרון שבשרת ה-Job יזרוק שגיאה בלוגים (גם של מערכת ההפעלה Event Viewer וגם ב-ULS Logs תחת תיקיית 14), כאשר נפח הדיסק פחות מפי 5 מהזכרון במחשב ה-Job יזרוק Warning. בהתאם לכך, שרתים עם כמות זכרון גדולה מאוד בעלי סיכוי גבוהה לחוות את הכישלון הזה. 
דוגמא : 
אם יש ברשותנו שרת בעל 8 GB זכרון ייזרק לנו Warning אם יש לנו פחות מ-40 GB RAM נפח בדיסק (System Disk) ותיזרק לנו שגיאה אם נפח הדיסק שלנו קטן מ-16 GB RAM.

שני פתרונות לבעיה :

  1. לבטל את ה-Job  :
    SharePoint Central Admin > Monitoring > Health Analyzer > Review rule definitions > under Availability > 'Drives are running out of free space' 
  2. לפנות מקום בדיסק :
     - חשוב לוודא שה-User שמבצע את הניקוי חבר בקבוצת ה-Administrators בשרת.
     - להריץ את ה-Disk Cleanup tool של מערכת ההפעלה.

בהצלחה !

רון נס.

=============================================================================================================================================================================================


Problem : 


This is expected if you are meeting the trigger as per http://technet.microsoft.com/en-us/library/ff805057.aspx 
  There is a health analyzer rule under Monitoring > Availability category "Drives are running out of free space" which acts as per below:
 This rule checks disk space as a proportion of the RAM on the computer. When disk space is less than twice the RAM on the computer, the health rule triggers an  error. When disk space is less than five times the RAM on the computer, the health rule triggers a warning. Accordingly, server computers with lots of RAM are more likely to experience a failure of this rule.
  That means if you have 8 GB of RAM, then it triggers warning if you have less than 40 GB  and triggers Error if you have less than 16 GB on System partition. This is by design from SharePoint perspective. You can workaround this issue by disabling this rule from SharePoint Central Admin > Monitoring > Health Analyzer > Review rule definitions > under Availability > 'Drives are running out of free space'

Solution : 


 - Free disk space on the server computer.
 - Run the Disk Cleanup tool to free disk space on the server computer.

Verify that the user account that is performing this procedure is a 
member of the Administrators group on the local computer.


Good Luck :)

Ron Ness.




No comments:

Post a Comment