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

# sk1000244 - Security Gateways write logs locally while a large blob directory blocks FWD on the Security Management Server

| Property | Value |
|----------|-------|
| Solution ID | sk1000244 |
| Date Created | 2026-10-07 |
| Last Modified | 2026-10-12 |
| Technical Level | General |
| Products | Logging & Status |
| Versions | R81.20 |

## Symptoms

- <br />

1. Local log files on the Security Gateways continue to grow even though most logs reach the Log Server:   
   `$FWDIR/log/YYYY-MM-DD_000000.log`
2. At times, logs from some Security Gateways do not appear in SmartConsole.
3. The following file on the Security Gateway shows the logger switching between local logging and server logging:  
   `$FWDIR/log/cplog_debug.elg`  
   `changeWritingLogStatusToLocal: this logger writing log to LOCAL - Status: Writing logs locally due to high log rate (buffer overflow)`
4. The following file on the Security Management Server shows repeated `CBlobRepositoryMgr::CalcHelper:` Stat failed messages, followed by a `cp_timed_blocker_handler` warning at the time of the issue:  

       $FWDIR/log/fwd.elg

       CBlobRepositoryMgr::CalcHelper: Stat failed on  dir Warning:cp_timed_blocker_handler: A handler [...] blocked for  seconds.

   <br />

<br />

## Cause

Once a day, FWD on the Security Management Server runs a scheduled check of the following directory:

```
$FWDIR/log/blob
```

When this directory contains a very large backlog of old blobs, the check blocks FWD. While FWD is blocked, the Security Gateways can fail to send logs to the Security Management Server and write them locally instead:

```
high log rate (buffer overflow)
```

## Solution

> **Note:**We recommend that you back up the blob data before you continue. Deleted blob data cannot be restored.


**Part 1: Clear the blob backlog on the Management Server or Log Server**

1. Check the content of the blob directory for a large number of old date directories:

       ls -l $FWDIR/log/blob | head
       ls -l $FWDIR/log/blob | wc -l

2. Check the size of the blob directory and the available disk space to make sure that there is enough space for the backup:

       du -sh $FWDIR/log/blob
       df -h /var/log

3. Back up the contents of `$FWDIR/log/blob`:

       mkdir -p /var/log/blob_backup
       tar -czf /var/log/blob_backup/blob_backup.tar.gz -C $FWDIR/log/blob .
       ls -lh /var/log/blob_backup/blob_backup.tar.gz

4. Clear the contents of `$FWDIR/log/blob`:

       rm -r $FWDIR/log/blob/*

5. Clear the DLP/PCAP blob cache:

       sqlite3 $FWDIR/log/dlp_blob_cache.db "select count(*) from BLOB_CACHE;"
       sqlite3 $FWDIR/log/dlp_blob_cache.db "select * from BLOB_CACHE;"
       sqlite3 $FWDIR/log/dlp_blob_cache.db "delete from BLOB_CACHE;" ".quit"


**Part 2: Fetch the logs stored locally on the gateway**

1. Check whether any logs are stored locally on the gateway:

       fw lslogs <IP Address or Hostname>

2. If local logs exist, fetch them:

       fw [-d] fetchlogs [-f <Name of Log File 1>] [-f <Name of Log File 2>]... [-f <Name of Log File N>] <IP Address or Hostname>

---

# 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
