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

# sk163533 - When Threat Extraction enabled on Security Gateway, /var/log partition fills up rapidly, and most of disk space is utilized by the /var/log/scrub/repository/

| Property | Value |
|----------|-------|
| Solution ID | sk163533 |
| Date Created | 2019-11-12 |
| Last Modified | 2021-09-02 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * When Threat Extraction is enabled on the Security Gateway, the */var/log* partition fills up rapidly. Most of the disk space is utilized by the */var/log/scrub/repository/* .  

  \[Expert@Fw01:0\]# du -hcx --max-depth=1 /var/log/scrub \| sort -n -r

  73G total

  73G /var/log/scrub/repository

  73G /var/log/scrub
* On the problematic Security Gateway, you can see a large *scrub_db*   

  \[Expert@Fw01:0\]# sqlite3 $FWDIR/conf/scrub_db.sqlite

  SQLite version 3.7.14

  Enter ".help" for instructions

  Enter SQL statements terminated with a ";"

  sqlite\> SELECT COUNT(\*) from ScrubRevisionTable;

  1040031

  sqlite\> .exit

## Cause

The scrub database has a large number of old entries. This caused all the interactions with it to take a long time and was interfering with the housekeeping process to clean old scrub files on the Security Gateway.

## Solution

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) 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](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) files from the Security Management and Security Gateways involved in the case.

---

# 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
