> Source: [sk99028](https://support.checkpoint.com/results/sk/sk99028)

# sk99028 - Increase timeout between Identity Agent connection attempts

| Property | Value |
|----------|-------|
| Solution ID | sk99028 |
| Date Created | 2014-03-31 |
| Last Modified | 2021-03-16 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |

## Symptoms

- When Identity Agent fails to connect to the PDP daemon on Security Gateway due to some connectivity issue, it would try connecting again after a very short period.  
In large network (large number of hosts with Identity Agents), this could cause high load on the Security Gateway, which would keep a negative feedback loop.

## Solution

The behavior of Identity Agent and of Identity Awareness gateway was modified.

Delay between Identity Agent connection retries can be configured by Identity Awareness gateway administrator (for both PDP disconnection and request failure).

The following new parameters were added to Windows Registry (for full agent, all `DWORD` parameters are in the following Check Point section - *`HKEY_LOCAL_MACHINE\SOFTWARE\CheckPoint\IA\`*)

Note: Identity Agent does not need to be restarted to apply the changes.

|--------------------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Parameter                            | Default value                | Description                                                                                                                                                                                |
| **`DelayBetweenConnAttempts`**       | 10000 millisec (10 sec)      | Delay time between failures - how much time to wait (in milliseconds) between failures.                                                                                                    |
| **`DelayFactorBetweenConnAttempts`** | 1                            | Delay factor - multiplication factor for the delay time between failures. To activate this parameter, assign the desired value of 2 and above.                                             |
| **`MaxDelayBetweenConnAttempts`**    | 900000 millisec (15 minutes) | Maximal delay time between failures (in milliseconds) - relevant only when the delay time is configured to grow between failures - e.g., if '`DelayFactorBetweenConnAttempts`' is enabled. |

*** ** * ** ***

For Security Gateways version **R77.10 and lower** you will need a Hotfix. [Contact Check Point Support](http://www.checkpoint.com/services/contact/index.html) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.

<br />

For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management and Security Gateways involved in the case.  
Show / Hide hotfix installation instructions  

[Contact Check Point Support](http://www.checkpoint.com/services/contact/index.html) for any assistance.

**Note:** In cluster environment, this procedure must be performed on all members of the cluster.

1. Hotfix has to be installed on **Security Gateway / each cluster member** .   

2. Transfer the hotfix package to the Security Gateway (into some directory, e.g., `/some_path_to_fix/`).   

3. Unpack the hotfix package:

   **`[Expert@HostName]# cd /some_path_to_fix/`**   
   **`[Expert@HostName]# tar zxvf fw1_wrapper_`*HOTFIX_NAME*`.tgz`**   

4. Install the hotfix:

   **`[Expert@HostName]# ./fw1_wrapper_`*HOTFIX_NAME***
   Note: The script will stop all of Check Point services (`cpstop`) - read the output on the screen.   

5. Reboot the Security Gateway.   

6. On Identity Agent machine, start Windows built-in Registry Editor:

   Start menu - '`Run...`' - **`regedit`** - click OK / press Enter key.

   **Important Note:** Before proceeding, refer to these Microsoft KB articles:
   * [kb136393 (How to Modify the Windows Registry)](http://support.microsoft.com/kb/136393)
   * [kb256986 (Windows registry information for advanced users)](http://support.microsoft.com/kb/256986)

   <br />

   <br />

7. Set the desired values for Identity Agent connection parameters in the '`HKEY_LOCAL_MACHINE\SOFTWARE\CheckPoint\IA`' section (see the table above).   

8. Close Windows Registry Editor.   

9. There is **no** need to restart Identity Agent to apply the changes.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
