# Comet Cache Not Deleting -tmp/ Directories

**URL:** <https://forums.wpsharks.com/t/comet-cache-not-deleting-tmp-directories/6050>\
**Category:** Comet Cache\
**Created:** [June 19, 2019, 11:29am UTC](https://forums.wpsharks.com/t/comet-cache-not-deleting-tmp-directories/6050 "2019-06-19T11:29:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vestaxpdx](https://forums.wpsharks.com/user_avatar/forums.wpsharks.com/vestaxpdx/32/1893_2.png) [@vestaxpdx](https://forums.wpsharks.com/u/vestaxpdx)\
**Post date:** [June 19, 2019, 11:29am UTC](https://forums.wpsharks.com/t/comet-cache-not-deleting-tmp-directories/6050/1 "2019-06-19T11:29:59Z")

</div>

Hi

I have a strange issue with the **wp-content/comet-cache/** directory not clearing properly.

I keep finding endless multiple **/cache-5d09d92025058126785878-tmp/** folders that keep building up and have what seems an entire copy of the site within.

Our site has is large, 3000+ pages. I checked the other day and the **wp-content/comet-cache/** directory was in excess of 100GB! I manually cleared it via SSH to get some space back for now.

If I click clear cache from the WP Admin tool bar the **/wp-content/comet-cache/cache/** directory clears but these \*-tmp/ directories just stay and seem to multiply over time.

I have auto cache engine off.

Comet Cache Pro v170220

Can anyone shed some light here?

---

<div class="post-metadata">

**Author:** ![clavaque](https://forums.wpsharks.com/user_avatar/forums.wpsharks.com/clavaque/32/1792_2.png) [@clavaque](https://forums.wpsharks.com/u/clavaque)\
**Post date:** [June 21, 2019, 12:49am UTC](https://forums.wpsharks.com/t/comet-cache-not-deleting-tmp-directories/6050/2 "2019-06-21T00:49:42Z")

</div>

Hi Alex.

That’s a large directory! Well done spotting that.

Normally Comet Cache would remove older versions of the cache. I’d suspect a permissions problem. Make sure that the permissions are set so that CC can remove the files and dirs.

If you have an error log in your server, do you see any entries that could be related to this behavior?

I look forward to your update. 🙂

---

<div class="post-metadata">

**Author:** ![vestaxpdx](https://forums.wpsharks.com/user_avatar/forums.wpsharks.com/vestaxpdx/32/1893_2.png) [@vestaxpdx](https://forums.wpsharks.com/u/vestaxpdx)\
**Post date:** [June 21, 2019, 7:47am UTC](https://forums.wpsharks.com/t/comet-cache-not-deleting-tmp-directories/6050/3 "2019-06-21T07:47:32Z")

</div>

I did check folder permission and everything is correct at 755 including these \*-tmp ones. Also checked mod\_security logs and I can’t see anything obvious.

We are on a dedicated server running WHM/cpanel

Does comet cache have a log system we can turn on and monitor? I couldn’t see anything obvious.

I would love to get to the bottom of this error. Directory is already back to 7GB +

---

<div class="post-metadata">

**Author:** ![soshaugh](https://forums.wpsharks.com/user_avatar/forums.wpsharks.com/soshaugh/32/2680_2.png) [@soshaugh](https://forums.wpsharks.com/u/soshaugh)\
**Post date:** [February 1, 2021, 1:35pm UTC](https://forums.wpsharks.com/t/comet-cache-not-deleting-tmp-directories/6050/4 "2021-02-01T13:35:43Z")

</div>

I am having this exact same problem. If I don’t manually delete these directories via Filezilla then I run out of room on my GoDaddy server.

Any help would be appreciated.
