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

# sk142632 - Indexing performance issue due to lea_session consuming high CPU

| Property | Value |
|----------|-------|
| Solution ID | sk142632 |
| Date Created | 2018-12-14 |
| Last Modified | 2020-06-18 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * High amount of log indexing is observed when multiple lea_session processes run in the background.   

  Average logging rate is 2.5k\~\~  
  Average indexing rates of the offline logs are 32k\~\~  

* Spikes in CPU and system interrupts by the lea_session processes that lasted 30 seconds and have occurred periodically every 3 minutes.   

* All lea_session processes have had CPU spikes (100% CPU with high system interrupts) at the same time, this is because they have all started at the same time.

## Cause

The periodic operation that is causing the spikes is "collect log files list". During the time the lea_session processes are at 100%, Solr can handle less logs.   
In some cases we have seen that while a Lucene Merge was running (not every time), and the CPU / system interrupts spiked, Solr has stopped receiving new logs, until the CPU and system interrupts has dropped back to normal.

## 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
