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

# sk182205 - Threat Emulation: Error: Disk space usage is above allowed value.

| Property | Value |
|----------|-------|
| Solution ID | sk182205 |
| Date Created | 2024-04-16 |
| Last Modified | 2026-02-02 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82, R81.20, R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- * when you enter this command on the Security Gateway in Expert mode CLI: "`cpstat threat-emulation -f default`"  
  this message shows:   
  "*status: 2, Disk space usage is above allowed value*"
* When you enter this command on the Security Gateway in Expert mode CLI: "`df -kh`", the output shows that more than 28 GB was available on var/log.
* 'stop_adding_files_to_queue_when_disk_space_falls_below.' this value is set to 20 GB, he value can be can also checked via "tecli ad sch all \| grep -i disk and it is configurable using GuiDB tool (sk92907)

## Cause

The available disk space is 23 GB. The setting was configured to `delete old files when space is below 32000 MB`, which is equal to 31.25 GB - higher than the available disk space.  

When the available disk space falls below the configured value, the device starts showing disk space errors.   

This setting applies regardless of the type of emulation configured on the Security Gateway. The initial basic check occurs whether it is cloud or local emulation.

## Solution

The available disk space is checked against the configured value, either through SmartConsole or directly from the database.   
In SmartConsole, you can configure disk space settings if 'measure free disk space' is enabled within 'Logs' -\> 'Local Storage' settings, the corresponding value will be fetched from the SmartConsole.  

![](https://sc1.checkpoint.com/sc/SolutionsStatics/NEW_SK_NOID1712921369976/local_storage202404121654461.png)  

If a percentage is configured, the value will be calculated based on the total disk space for that partition.  

If the above settings are missing (unchecked), then the value will be retrieved from the database using the parameter 'stop_adding_files_to_queue_when_disk_space_falls_below.' By default, this value is set to 20 GB, but it is configurable through GuiDBedit. The same value can also checked via "tecli ad sch all \| grep -i disk" command on GW.

---

# 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
