Article ID: 3958, created on Feb 19, 2008, last review on May 11, 2014

  • Applies to:
  • Operations Automation

Symptoms


POA task 'Self diagnostic and repair of service' or any other Active Directory related task fails with error 'The size limit for this request was exceeded'.

Cause

The attribute MaxPageSize in Active Directory is set to too low value, but POA schedules some heavy operation on the AD which returns more data than allowed. This issue could arise after a major upgrade or any other bulk changes in the infrastructure.

Resolution

To resolve this issue one may temporarily increase the attribute MaxPageSize in AD and resubmit the task, then restore old value of the parameter. To do this, follow the steps below:

1. Start the utility ntdsutil.exe (Start > Run > ntdsutil)
2. At the ntdsutil.exe command prompt, type:
LDAP policies
    Connections
    Connect to server <ad01.hosting.local>
    q
    Show values

where <ad01.hosting.local> is the FQDN of a Preferred Domain Controller.

Current values will be displayed, for example:
ldap policy: show values

Policy                          Current(New)

MaxPoolThreads                  4
MaxDatagramRecv                 4096
MaxReceiveBuffer                10485760
InitRecvTimeout                 120
MaxConnections                  5000
MaxConnIdleTime                 900
MaxPageSize                     1000
MaxQueryDuration                120
MaxTempTableSize                10000
MaxResultSetSize                262144
MaxNotificationPerConn          5
MaxValRange                     1500


Remember the current value for MaxPageSize to use on the last step as <old_value>

3. To update MaxPageSize, type:
    Set MaxPageSize to 10000
    Commit Changes
    q
    q


4. Go to POA > Top > System Director > Task Manager > Background Tasks and resubmit failed task, wait until it is processed.

5. Repeat steps 1 to 3 and restore MaxPageSize to <old_value> (use "Set MaxPageSize to <old_value>" instead of "Set MaxPageSize to 10000")

AdditionalInformation

Default value of MaxPageSize is 1000 and it is recommended by Microsoft, see http://technet.microsoft.com/en-us/library/aa998536(EXCHG.80).aspx for details.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF