I have a DFSR connection replicating about 6000 files between 2 servers.
I have been able to use DfsrIdRecordInfo to query smaller DFSR databases, but when I try it on this one I am not able to return all the results of the query before I hit a wmi quota violation.
I tried doubling the WMI quotas on the DFSR server, then I even tried Tripling them so they were:
- MemoryPerHost=1610612736;
- HandlesPerHost=12288;
- MemoryAllHosts=3221225472;
- ProcessLimitAllHosts=96;
- ThreadsPerHost=768
I still get the quota violation.
Is there a way to control a large wmi query like this to do some kind of paging so I don't run out of memory?
I know I can use the DfsrIdUpdateInfo class to get the files being processed\in the queue (which is what the "dfsrdiag.exe ReplicationState" command is doing) and I can also filter the query which limits the query results, but I want to know if I can grab ALL the files.
I thought about posting this in "File Services and Storage", but this seemed like more of a WMI scripting question as my question is how to deal with a large WMI query.