question

kashifNazeer-7896 avatar image
0 Votes"
kashifNazeer-7896 asked XiaoweiHe-MSFT commented

data deduplication optimization job is being cencelled in few secinds

Hi Everyone,

On a Windows 2012 server, the Data dedup optimization job a particular drive is getting cancelled with in few seconds. So no more dedup is happening.
Below are some event logs and actions performed.

Event ID 10242
Optimization reconciliation has completed.

Volume: D: (\\?\Volume{0af60788-0b20-46b6-bb36-0b48bcbde9ac})
Reconciled containers: 176
Unreconciled containers: 61
Merged containers: 0
Total reconciled references: 0
Error code: 0x0
Error message: NULL

>> even though new data is being copied the “Reconciled” and “Unreconciled” count stays same.


Event ID 6153

Optimization job has completed.

Volume: D: (\\?\Volume{0af60788-0b20-46b6-bb36-0b48bcbde9ac})
Error code: 0x8056533D
Error message: The operation was cancelled.

Savings rate: 49
Saved space: 10464533387556
Volume used space: 10765877268480
Volume free space: 1949236043776
Optimized file count: 10731610
In-policy file count: 10955938
Job processed space (bytes): 0
Job elapsed time (seconds): 536
Job throughput (MB/second): 0


Event ID 4143
Data Deduplication cancelled job type "Optimization" on volume "\\?\Volume{0af60788-0b20-46b6-bb36-0b48bcbde9ac}\". Memory resource is running low on the machine or in the job.


Event ID 10243
Optimization job on volume D: (\\?\Volume{0af60788-0b20-46b6-bb36-0b48bcbde9ac}) was configured with insufficient memory.

System memory percentage: 90
Available memory: 7371 MB
Minimum required memory: 8340 MB

>> Earlier it was configured with 25% and i increased to 90% but still it complain of insufficient RAM.


Event ID 8244
Error terminating job host process for job type "Optimization" on volume "D:" (process id: 4400).
0x80070005, Access is denied.

Still trying to figure out.

any hint to solve the issue

windows-server-2012
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

XiaoweiHe-MSFT avatar image
0 Votes"
XiaoweiHe-MSFT answered

Hi,

  1. Please check if the volume we want to optimize has free space.

  2. Please check if the RAM is enough for the job. By default a server will limit the RAM used by the optimization job to 50% of total RAM in the server. So if the above server had just 4 GB RAM, then only 2 GB would be available for the optimization job. You can manually override this:

Start-Dedupjob <volume> -Type Optmization -Memory <50 to 80>

Usually, 1-2 GB RAM is used per 1 TB of data per volume. For example:

Volume Volume size Memory used
Volume 1 1 TB 1-2 GB
Volume 2 1 TB 1-2 GB
Volume 3 2 TB 2-4 GB
Total for all volumes 1+1+2 * 1GB up to 2GB 4 – 8 GB RAM

https://aidanfinn.com/?p=15866

(Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)



Thanks for your time!
Best Regards,
Anne


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

kashifNazeer-7896 avatar image
0 Votes"
kashifNazeer-7896 answered

Hi Anne,

the recommended memory allocation is 25 to 50% of the total RAM for Dedup operation, i tried to increase it to 90% but result was same.

before the Dedup job start, the system is using approximate 30% and after the job run it reaches 95% in few minutes and job fails.

i can understand the RAM is not enough as MS documentation says that system need 1GB of RAM for each 1TB of data to dedup. in this calculation i need 12 GB of free RAM..

why i started the thread ! the Server is working with same amount of RAM (8GB) from several years and from last 6 months data size is almost same. the Dedup was working perfectly fine but from last 30-40 days it is failing. so i am trying to figure out if it is a Memory leak issue.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

XiaoweiHe-MSFT avatar image
0 Votes"
XiaoweiHe-MSFT answered XiaoweiHe-MSFT commented

Hi,

why i started the thread ! the Server is working with same amount of RAM (8GB) from several years and from last 6 months data size is almost same. the Dedup was working perfectly fine but from last 30-40 days it is failing. so i am trying to figure out if it is a Memory leak issue.

According to the error message and theoretically, it should be no enough memory issue. And although it could work before, after some performance of add, delete, modify, open, close of the files, the situation will be changed.

While, it is understandable that you suspect there is a memory leak, the easiest way to monitor if there's a memory leak is to check if the total memory is getting less. If you want to get a definite answer about memory leak, it's recommended to open a case with MS to troubleshoot the memory leak.

Below is the link to open case with MS:

https://support.microsoft.com/en-us/gp/customer-service-phone-numbers

Thanks for your time!
Best Regards,
Anne


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

I would like to check if the reply could be of help? If yes, please help accept answer, so that others meet a similar issue can find useful information quickly. If you have any other concerns or questions, please feel free to feedback.

Best Regards,
Anne

0 Votes 0 ·