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

# sk36754 - $CPDIR/tmp/ directory is filled with 'CKP_mutex::_opt_CPsuite-RXX_fw1_log__...' files

| Property | Value |
|----------|-------|
| Solution ID | sk36754 |
| Date Created | 2008-12-30 |
| Last Modified | 2021-01-04 |
| Technical Level | General |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R81.20, R82 |

## Symptoms

- *$CPDIR/tmp/* directory is filled with "*CKP_mutex::_opt_CPsuite-R*XX*_fw1_log__...* " files.

*Example*:

```

[Expert@HostName]# ls -l
... ...
-rw-rw---- 1 root root 0 Oct 21 13:01 CKP_mutex::_opt_CPsuite-R65_fw1_log__fw1-mgmt__2007-10-21_130119_log
-rw-rw---- 1 root root 0 Oct 21 13:01 CKP_mutex::_opt_CPsuite-R65_fw1_log__fw1-mgmt__2007-10-21_130119_logaccount_ptr
-rw-rw---- 1 root root 0 Oct 21 13:01 CKP_mutex::_opt_CPsuite-R65_fw1_log__fw1-mgmt__2007-10-21_130119_loginitial_ptr
-rw-rw---- 1 root root 0 Oct 21 13:01 CKP_mutex::_opt_CPsuite-R65_fw1_log__fw1-mgmt__2007-10-21_130119_logptr
... ...
[Expert@HostName]#
```

## Cause

These files are not deleted properly from the hard disk.

Notes:

* These files are created during each log fetch.
* Possible functionality impacts are: When creating a snapshot on Gaia OS (the large amount of files slows it down), and /opt/ partition to run out of inodes.

## Solution

This problem was fixed. The fix is included in:

* [Check Point R80.40](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk160736)
* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) starting from Take 135 (For Gaia 3.10)
* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) starting from Take 107 (For Gaia 2.6.18)
* [Jumbo Hotfix Accumulator for R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk137592) starting from Take 134
* [Jumbo Hotfix Accumulator for R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk116380) starting from Take 283

As a workaround, follow these steps:

1. Connect to command line to the problematic machine (over SSH, or console).   

2. Log in to Expert mode.
3. On Multi-Domain Security Management Server, switch to the context of the involved Domain Management Server:

   ***[Expert@HostName]# mdsenv <Domain_Name>***` `  

4. Stop Check Point Services:

   * On Security Management Server:

     ***[Expert@HostName]# cpstop***   

   * On Multi-Domain Security Management Server

     ***[Expert@HostName]# mdsstop_customer <Domain_Name>***

   <br />

   <br />

5. Delete these mutex files:

   ***[Expert@HostName]# cd $CPDIR/tmp/
   [Expert@HostName]# pwd
   [Expert@HostName]# find . -name CKP_mutex\* | wc -l
   [Expert@HostName]# find . -name CKP_mutex\* -exec rm {} \;
   [Expert@HostName]# find . -name CKP_mutex\* | wc -l***   

6. Start Check Point Services:

   * On Security Management Server:

     ***[Expert@HostName]# cpstart***` `  

   * On Multi-Domain Security Management Server

     ***[Expert@HostName]# mdsstart_customer <Domain_Name>***

**Related solution:** [sk33037 - What are the Mutex files in $CPDIR/tmp/ directory?](http://supportcontent.checkpoint.com/solutions?id=sk33037)

---

# 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
