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

# sk110555 - "Used disk space percent" counter in $FWDIR/log/emaild.mta.elg log file shows unrealistic large value

| Property | Value |
|----------|-------|
| Solution ID | sk110555 |
| Date Created | 2016-03-17 |
| Last Modified | 2023-05-07 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- *$FWDIR/log/emaild.mta.elg* log file shows unrealistic large value in "*Used disk space percent*" counter.

*Example*:
`
MTA disk limit: 80%`  
`
Total disk space: 1487899 MB`  
`
Disk space used: 18446744073701642670 bytes (696337 in mail spool, 18446744073700946333 in files pending emulation)`  
`
Total disk space: 1560175390720 bytes`  
` 
Used disk space percent: 11823506%`  
`
WARNING: MTA has exceeded the disk space limit
`

## Cause

Wrong disk usage calculation (underflow condition) by the *emaild.mta* process.

## Solution

This problem was fixed. The fix is included in:

* [Check Point R77.30 Jumbo Hotfix Accumulator](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk106162) Take 221 and above.

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=73) / [upgrade VSX](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=359) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

For other versions, [Contact Check Point Support](http://www.checkpoint.com/services/contact/index.html) 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.

**Code was improved:** Disk space usage functions now clamp the minimum and maximum possible values to prevent overflow or underflow of the disk space counter.

**Hotfix installation instructions:**

1. Hotfix has to be installed on ***Security Gateway that acts as MTA.***

   **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster.   

2. Transfer the hotfix package to the machine (into some directory, e.g., */some_path_to_fix/* ).   

3. Unpack and install the hotfix package:

   ***\[Expert@HostName\]# cd /some_path_to_fix/***   
   ***\[Expert@HostName\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz***   
   ***\[Expert@HostName\]# ./fw1_wrapper_\<HOTFIX_NAME\>***
   **Note:** The script will stop all of Check Point services (*cpstop* ) - read the output on the screen.   

4. Reboot the machine.

**Related solutions:**

* [sk92907 - Threat Emulation inspection failure due to disk space shortage](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92907)

---

# 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
