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

# sk110501 - RAD process on Security Gateway consumes CPU at 99%-100%

| Property | Value |
|----------|-------|
| Solution ID | sk110501 |
| Date Created | 2016-03-13 |
| Last Modified | 2025-01-14 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82, R81.20, R81.10 (EOS), R81 (EOS) |

## Solution

### Introduction

This article describes different scenarios when RAD process on Security Gateway consumes CPU at 99%-100%. Each Scenario has additional details, mostly received from debugs, additional error messages, its own cause and solution.

**General Symptoms:**

* Not possible to access HTTP web sites.

* "`Internal System Error occurred`" log in SmartView Tracker while trying to categorize resource as described in [sk64162](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk64162).

* Output of "*top*" command on Security Gateway shows that RAD process consumes CPU at 99%-100% for a long time.

**Table of Contents:**

* Internal repository container for "CRadValueUInt" data type runs out of free objects
* Internal repository container for "CRadValueMap" data type runs out of free objects
* Related solutions

Show the Entire Article

### 1. Internal repository container for "CRadValueUInt" data type runs out of free objects {#Scenario 1}

Show / Hide solution  

**Additional Symptoms:**

* Kernel debug ('`fw ctl debug -m RAD_KERNEL all`') shows:

  ```
  [rad_repository_container_data.h:118] CRadRepositoryContaineData::get: [INFO] enter to ... 
  [rad_repository_container_data.h:120] CRadRepositoryContaineData::get: [MISC] list: <CRadValueUInt> free objects = 0, used 5000 of 5000 
  [rad_repository_container_data.h:168] CRadRepositoryContaineData::get: [ERROR] container <CRadValueUInt> is on its maximum capacity 
  [rad_repository_container_data.h:169] CRadRepositoryContaineData::get: [INFO] exit from .. 
  [rad_trapper_message.cpp:131] CRadTrapperMessage::read: [ERROR] unabel to get value object of type (1) 
  [rad_trapper_message.cpp:172] CRadTrapperMessage::read: [ERROR] unable to read all items read (4) unread (1) 
  [rad_trapper_message.cpp:73] CRadTrapperMessage::run: [ERROR] failed reading message buffer 
  [rad_chain_runner.cpp:77] CRadChainRunner::run: [ERROR] error run chain 'CRadTrapperMessage 
  [rad_dispacher_thread.cpp:971] CRadDispacher::handle_data: [ERROR] error running the chain, fail on 'CRadTrapperMessage 
  [rad_dispacher_thread.cpp:894] CRadDispacher::handle_trap: [ERROR] error handling data = 0x9fcd41c, _dlen = 188
  ```

**Issue ID:**

* 01968370

**Cause:**
> To create a categorization request to Check Point cloud, RAD process uses repository containers.  
> The repository container for "`CRadValueUInt`" data type runs out of free objects, which causes categorization request creation to fail.

**Solution:**
> This problem was fixed. The fix is included in:
>
> * [Check Point R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111841)
>
> **Code was improved:**
>
> * Increased the amount of available objects in the internal repository container for "CRadValueUInt" data type.
>
> For **lower [supported](http://www.checkpoint.com/support-services/support-life-cycle-policy/index.html) versions** , [Check Point Support](http://www.checkpoint.com/support-services/contact-support/index.html) can supply a **Hotfix** .  
> A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
> For faster resolution and verification, please collect [CPInfo files](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) from the Security Management Server and Security Gateways involved in the case.
>
> Hotfix installation instructions:
>
> 1. Hotfix has to be installed on ***Security Gateway***.
>
>    **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster.
> 2. Procedure:
>
>    * Using CPUSE on Gaia OS:
>
>      Refer to [sk92449: CPUSE - Gaia Software Updates (including Gaia Software Updates Agent)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE):
>      * Section "[(4-A-c)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to download and import a CPUSE package - Import instructions for Offline procedure - Gaia Portal)" / "[(4-A-d)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to download and import a CPUSE package - Import instructions for Offline procedure - Gaia Clish)" - refer to import instructions for *Offline procedure*
>      * Section "[(4-B-a)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to install a CPUSE package - Installing a Hotfix package / Minor Version package)" - refer to installation instructions for *Hotfixes*
>
>      **Note:** Machine will be rebooted automatically.
>    * Using Legacy CLI on Gaia/SecurePlatform/IPSO OS:
>
>      You must be connected either over Console, or LOM card (SSH session will be disconnected).
>      1. Transfer the hotfix package to the machine (into some directory, e.g., */some_path_to_fix/*).
>
>      2. Unpack and install the hotfix package:
>
>         ***\[Expert@HostName:0\]# cd /some_path_to_fix/***   
>         ***\[Expert@HostName:0\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz***   
>         ***\[Expert@HostName:0\]# ./fw1_wrapper_\<HOTFIX_NAME\>***
>         **Note:** The script will stop all of Check Point services (*cpstop*) - read the output on the screen.
>      3. Reboot the machine.

### 2. Internal repository container for "CRadValueMap" data type runs out of free objects {#Scenario 2}

Show / Hide solution  

**Additional Symptoms:**

* Threat Prevention Fail Mode is set to "`Block all connections (Fail-close)`"  
  (In SmartDashboard - go to "Threat Prevention" tab - expand "Advanced" - click on "Engine Settings" - refer to "Fail Mode" section)

* Changing the Resource Classification for DNS in the *$FWDIR/conf/malware_config* file (refer to [sk92224](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92224)) from "`hold`" to "`bg`" and installing the policy resolves the issue - CPU consumption by RAD process decreases to normal level.

* Kernel debug ('`fw ctl debug -m RAD_KERNEL all`') shows:

  ```
  [rad_repository_container_data.h:118] CRadRepositoryContaineData::get: [INFO] enter to ... 
  [rad_repository_container_data.h:120] CRadRepositoryContaineData::get: [MISC] list: <CRadValueMap> free objects = 0, used 5000 of 5000 
  [rad_repository_container_data.h:168] CRadRepositoryContaineData::get: [ERROR] container <CRadValueMap> is on its maximum capacity 
  [rad_repository_container_data.h:169] CRadRepositoryContaineData::get: [INFO] exit from .. 
  ```

* Debug of RAD process (per [sk92743](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92743)) shows that RAD process is getting the same URLs over and over, which should have been stored in the cache, but were not.

**Issue ID:**

* 02327275

**Cause:**
> * To create a categorization request to Check Point cloud, RAD process uses repository containers.  
>   The repository container for "`CRadValueMap`" data type runs out of free objects, which causes categorization request creation to fail.
> * Due to multiple invalid DNS requests that start with ".", the responses from web sites were not cached.

**Solution:**
> [Contact Check Point Support](http://www.checkpoint.com/support-services/contact-support/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.  
> For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.
>
> **Code was improved:**
>
> * DNS requests starting with "." are invalid. Such DNS requests will be failed by the RAD kernel module. Corresponding log should appear in SmartView Tracker / SmartLog.
>
> Hotfix installation instructions:
>
> 1. Hotfix has to be installed on ***Security Gateway***.
>
>    **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster.
> 2. Procedure:
>
>    * Using CPUSE on Gaia OS:
>
>      Refer to [sk92449: CPUSE - Gaia Software Updates (including Gaia Software Updates Agent)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE):
>      * Section "[(4-A-c)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to download and import a CPUSE package - Import instructions for Offline procedure - Gaia Portal)" / "[(4-A-d)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to download and import a CPUSE package - Import instructions for Offline procedure - Gaia Clish)" - refer to import instructions for *Offline procedure*
>      * Section "[(4-B-a)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to install a CPUSE package - Installing a Hotfix package / Minor Version package)" - refer to installation instructions for *Hotfixes*
>
>      **Note:** Machine will be rebooted automatically.
>    * Using Legacy CLI on Gaia/SecurePlatform/IPSO OS:
>
>      You must be connected either over Console, or LOM card (SSH session will be disconnected).
>      1. Transfer the hotfix package to the machine (into some directory, e.g., */some_path_to_fix/*).
>
>      2. Unpack and install the hotfix package:
>
>         ***\[Expert@HostName:0\]# cd /some_path_to_fix/***   
>         ***\[Expert@HostName:0\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz***   
>         ***\[Expert@HostName:0\]# ./fw1_wrapper_\<HOTFIX_NAME\>***
>         **Note:** The script will stop all of Check Point services (*cpstop*) - read the output on the screen.
>      3. Reboot the machine.

### Related solutions {#Related solutions}

* [sk103422 - Resource Advisor (RAD) does not reuse connections (opens new connection for each request)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk103422)
* [sk109897 - How use "Categorize HTTPS websites" configuration with non-RFC compliant HTTPS traffic](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk109897)
* [sk94056 - When Anti-Virus and Anti-Bot blades are enabled, RAD process and DLPU process consume CPU at high level](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk94056)
* [sk92224 - Resource Categorization for Anti-Bot / Anti-Virus DNS Settings optimization](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92224)

---

# 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
