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

# sk147652 - SmartEvent policy installation fails with memory allocation error

| Property | Value |
|----------|-------|
| Solution ID | sk147652 |
| Date Created | 2019-03-03 |
| Last Modified | 2023-01-14 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- * SmartEvent policy install may fail with the error   
  "Installation failed. Reason: Memory allocation problem in Policy installation function."

* Core files for *cpsead* process may be generated as well as other core files during policy install failure.

* Memory consumption is normal, and reboot of the device to clear memory has no affect.

* When trying to remove correlation units, following message appears in SmartEvent:` "Mismatch UID's for object OnlineJob"`

* There is more than one online job (correlation units) defined in the DataBase, for example:  

  ```
  
  cpm=#  select name, objid  from dleobjectderef_data where cpmitable like 'sem_jobs'  and dlesession=0 and not deleted;
  -[ RECORD 1 ]-------------------------------
  name  | OnlineJob
  objid | e10633e5-c953-4847-ad57-72115af964ba
  -[ RECORD 2 ]-------------------------------
  name  | OnlineJob
  objid | 4a5557eb-1881-4828-8f7f-2d1a074931e0
  ```

  <br />

* Running *cpsead* process debug as per [sk95153](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk95153) is showing:  

  `[Expert@HostName]# fw debug cpsead on TDERROR_ALL_ALL=5`  
  `
  [Expert@HostName]# fw debug cpsead on OPSEC_DEBUG_LEVEL=9`  

  `

  tailf $RTDIR/log/cpsead.elg`  

  `

  [CPSEAD 22485 4137510672]@SmartEvent_Test[24 Jul 11:25:00] opsec_del_event_handler: env is NULL `  
  `
  Failed to install policy, will try to re-install last known good policy. `  
  `
  Succeeded installing last known good policy. `  
  `
  [CPSEAD 22485]@SmartEvent_Test[24 Jul 11:25:00] Warning:cp_timed_blocker_handler: A handler [0x8055510] blocked for 11 seconds. `  
  `
  [CPSEAD 22485]@SmartEvent_Test[24 Jul 11:25:00] Warning:cp_timed_blocker_handler: Handler info: Library [cpsead], Function offset [0xd510]. `  
  `
  [CPSEAD 22485]@SmartEvent_Test[24 Jul 11:25:00] Warning:cp_timed_blocker_handler: Handler info: Nearest symbol name [_ZN10CPAnalyzer18_OnMessageReceivedEP7fwd_envPcS2_S2_iPvS3_], offset [0xd510]. `  
  `
  [CPSEAD 22485 4137510672]@SmartEvent_Test[24 Jul 11:25:00] fwasync_conn_get: get max buffer size (4194304) .`

* After a few minutes after installing the SmartEvent policy:  

  Installing policy for job \[All online jobs\]  

  Installing policy for job \[All online jobs\]  

  SmartEvent Policy Installer installation failed for Security Gateway XXXXX...  

  Installation failed. Reason: Policy install commit function was unsuccessful due to timeout.  

  SmartEvent Policy Installer installation completed with errors   

  SmartEvent Policy Installer installation failed for:  

  XXXXX   

  SmartEvent Policy Installer installation failed for XXXX - install failed

## Cause

There is more than one online job (correlation unit) defined in the DataBase and when attempting to install policy sequentially on these 2 units, they will fail with Segmentation Fault.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# 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
