none
I am getting this warning Potential data loss warning in RetentionAgent Event id 1013 source MsExchangeDiagnostics RRS feed

  • Question

  • Hello All , 

    I am getting this warning Potential data loss warning  Potential data loss warning in Exchange 2013 Mailbox  " RetentionAgent: RetentionAgent: Warning: Potential data loss. The size of this folder X:\Program Files\Microsoft\Exchange Server\V15\Logging\Diagnostics\DailyPerformanceLogs has reached 70% of max size allowed - 5120 MB. Some data will be purged once it reaches the max limit " . 

    Event id 1013 source MsExchangeDiagnostics 

    how  can resolve the warning !! 

    Thank you  

    Monday, December 8, 2014 6:18 AM

Answers

  • Hi Mohamamd ,

     Reason for this error :
    Exchange Diagnostic service logs an error message when ‘DailyPerformanceLogs’ folder reaches the value described in MaxSize as in below file located on “C:\Program Files\Microsoft\Exchange Server\V15\bin\“:
    Microsoft.Exchange.Diagnostics.Service.exe.config

    Resolution:
    —————-


    Temporary Solution :

    Open below file in notepad:
    C:\Program Files\Microsoft\Exchange Server\V15\bin\Microsoft.Exchange.Diagnostics.Service.exe.config

    Change the “LogDataLoss” = “False” under the ‘DailyPerformanceLogs’ section to suppress this error.

    Save the file and the restart to Microsoft Exchange Diagnostics service to force it to read in the configuration file and all should be well.


    Permanent Solution :
    Change the path to the drive  where the log files get saved  and the disk holds sufficient space for storing these logs.


    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish (MVP)

    • Marked as answer by Belinda Ma Monday, December 22, 2014 8:36 AM
    Monday, December 8, 2014 8:27 AM
  • Hi,

    In the X:\Program Files\Microsoft\Exchange Server \V15\Logging\Diagnostics\DailyPerformanceLogs folder, you will find files named ExchangeDiagnosticsDailyPerformanceLog_MMDDHHMM.blg. These files are used by Managed Availability framework (which runs as the Microsoft Exchange Health Management service) to track the health of system components in Exchange. And they are generated automatically and take up disk space.

    You can control how much data is stored in the daily performance logs by editing the Microsoft.Exchange.Diagnostics.Service.exe.config file, as what Sathish suggestioned above.

    You may find the following:

    <add Name="DailyPerformanceLogs" LogDataLoss="True" MaxSize="5120" MaxSizeDatacenter="2048" MaxAge="7.00:00:00" CheckInterval="08:00:00" />

    You can change the value of LogDataLoss to "False" or increase the MaxSize and MaxAge values to higher if you have the space.

    Best regards,

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


    Belinda Ma
    TechNet Community Support

    • Marked as answer by Belinda Ma Monday, December 22, 2014 8:36 AM
    Wednesday, December 10, 2014 4:15 AM

All replies

  • Hi Mohamamd ,

     Reason for this error :
    Exchange Diagnostic service logs an error message when ‘DailyPerformanceLogs’ folder reaches the value described in MaxSize as in below file located on “C:\Program Files\Microsoft\Exchange Server\V15\bin\“:
    Microsoft.Exchange.Diagnostics.Service.exe.config

    Resolution:
    —————-


    Temporary Solution :

    Open below file in notepad:
    C:\Program Files\Microsoft\Exchange Server\V15\bin\Microsoft.Exchange.Diagnostics.Service.exe.config

    Change the “LogDataLoss” = “False” under the ‘DailyPerformanceLogs’ section to suppress this error.

    Save the file and the restart to Microsoft Exchange Diagnostics service to force it to read in the configuration file and all should be well.


    Permanent Solution :
    Change the path to the drive  where the log files get saved  and the disk holds sufficient space for storing these logs.


    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish (MVP)

    • Marked as answer by Belinda Ma Monday, December 22, 2014 8:36 AM
    Monday, December 8, 2014 8:27 AM
  • Hi,

    In the X:\Program Files\Microsoft\Exchange Server \V15\Logging\Diagnostics\DailyPerformanceLogs folder, you will find files named ExchangeDiagnosticsDailyPerformanceLog_MMDDHHMM.blg. These files are used by Managed Availability framework (which runs as the Microsoft Exchange Health Management service) to track the health of system components in Exchange. And they are generated automatically and take up disk space.

    You can control how much data is stored in the daily performance logs by editing the Microsoft.Exchange.Diagnostics.Service.exe.config file, as what Sathish suggestioned above.

    You may find the following:

    <add Name="DailyPerformanceLogs" LogDataLoss="True" MaxSize="5120" MaxSizeDatacenter="2048" MaxAge="7.00:00:00" CheckInterval="08:00:00" />

    You can change the value of LogDataLoss to "False" or increase the MaxSize and MaxAge values to higher if you have the space.

    Best regards,

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


    Belinda Ma
    TechNet Community Support

    • Marked as answer by Belinda Ma Monday, December 22, 2014 8:36 AM
    Wednesday, December 10, 2014 4:15 AM
  • Hi,

    Is there any update on this issue?

    Best regards,

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


    Belinda Ma
    TechNet Community Support

    Friday, December 12, 2014 12:50 AM
  • hi

    inserting false occur event id 6004 :
    MSExchange Common ( 6004 ) " ADDriverLogs : Failed to write logs Because of the error : Access to the path ' Microsoft.Exchange.Store.Worker.exe __ * . LOG ' is denied

    strangely the file is missing in dir
    V15\ Logging\ ADDriver\

    kurmi

    Thursday, September 10, 2015 2:08 PM

  • Permanent Solution :
    Change the path to the drive  where the log files get saved  and the disk holds sufficient space for storing these logs.

    hi,

    how can i change the path?

    my logs are in L:\

    thanks and regards.

    Tuesday, April 19, 2016 12:08 PM
  • Sorry, but this is rather unsatisfactory.

    This is just a workaround for somebody with unlimited disk space. We plan to run the Exchange Server for several years so those logs will accumulate over time and the warning will never go away.

    I would have expected an answer describing how to fix this problem and how to manage those logs like:

    • if those logs can be deleted without harming anything
    • if I could enable some sort of log rotation to prevent them to accumulate and if so, how

    Kind regards,

    Ralf

    Wednesday, January 3, 2018 7:35 AM
  • My thoughts exactly Ralf.

    MDMLE

    Thursday, February 22, 2018 3:21 PM
  • The text about "data loss" is concerning.  But, it appears this is just old logs being cleared out.  Definitely not the best message.  I'd say either turn off logging or ignore the event.
    Friday, February 23, 2018 4:19 PM
  • Exchange 2013 - CU20:

    The weird thing for me here, is my logs appear to be "maxing" out at 1024MB, yet based on what you posted, and based on what I see in my config file is that default is:
     <add Name="DailyPerformanceLogs" LogDataLoss="True" MaxSize="5120" MaxSizeDatacenter="2048" MaxAge="7.00:00:00" CheckInterval="08:00:00" />

    So if my maxsize is 5120, then why is it getting data loss at 1025MB?


    • Edited by JoeFri Wednesday, January 23, 2019 3:03 PM
    Wednesday, January 23, 2019 3:02 PM