---
title: Set the synchronization rate
description: The resync command has a --ratePerSecondFile option that enables a specific synchronization rate. The option can be used to adjust the rate during off-peak hours, or adjust the rate based on measured loads for very long operations.
component: pingdirectory
version: 11.0
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_set_sync_rate
canonical_url: https://docs.pingidentity.com/pingdirectory/11.0/pingdatasync_server_administration_guide/pd_sync_set_sync_rate.html
revdate: September 13, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Set the synchronization rate

## About this task

The `resync` command has a `--ratePerSecondFile` option that enables a specific synchronization rate. The option can be used to adjust the rate during off-peak hours, or adjust the rate based on measured loads for very long operations.

|   |                                                                                                                                     |
| - | ----------------------------------------------------------------------------------------------------------------------------------- |
|   | The `resync` command also has a `--ratePerSecond` option. If this option is not provided, the command operates at the maximum rate. |

Run the `resync` command first at 100 operations per second, measure the impact on the source servers, then adjust as needed. The file must contain a single positive integer number surrounded by white space. If the file is updated with an invalid number, the rate is not updated.

## Steps

1. Create a text file containing the rate. The number must be a positive integer surrounded by white space.

   ```shell
   $ echo '100 ' >rate.txt
   ```

2. Run the `resync` command with the `--ratePerSecondFile` option.

   ```shell
   $ bin/resync --pipe-name "sun-to-ds-sync-pipe" \
     --ratePerSecondPath rate.txt
   ```
