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

# sk93452 - 'File size limit exceeded' error when CPinfo output file exceeds 2 GB

| Property | Value |
|----------|-------|
| Solution ID | sk93452 |
| Date Created | 2013-07-10 |
| Last Modified | 2016-11-15 |
| Technical Level | General |
| Products | Tools |
| Versions | Not Version-Specific |

## Symptoms

- '`File size limit exceeded`' error when creating a CPinfo output file:  

*Example* :`[Expert@HostName]# cpinfo -z -o output_test_file`  

`cpinfo (I:0110): Beginning ...`  

`cpinfo (I:0116): Latest cpinfo version: http://www.checkpoint.com/downloads/`  
`Unable to open '/dev/fw0': No such file or directory`  
`Failed to get interface list: No such file or directory`  
`cpinfo (I:0112): Embedding files ...`  
**File size limit exceeded**   

`[Expert@HostName]# ls -l output_test_file`  
`-rw-rw---- 1 root root `**2147483647**` May 23 07:43 output_test_file`

## Cause

Size of CPinfo output file is limited to exactly 2147483647 bytes.

## Solution

The size of the CPinfo output file depends on the current size of the active log files.

**Before creating a CPinfo output file, follow these guidelines:**

1. Switch the current Management / Audit log:   

   1. Open SmartView Tracker   

   2. Click on the right-most tab - Management / Audit   

   3. Go to '`File`' menu - click on '`Switch Active File...`'   

   4. Close SmartView Tracker

   <br />

   <br />

2. Remove old unneeded Database Revisions   

   1. Open SmartDashboard   

   2. Go to '`File`' menu - click on '`Database Revision Control...`'   

   3. Delete old unneeded snapshots

After this install an improved version of CPinfo utility (build 912000029). Refer to [sk92739 (The CPinfo utility)](http://supportcontent.checkpoint.com/solutions?id=sk92739).

---

# 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
