# I think Mautic may be flooding my hosting server with hundreds of files. What could it be?

**URL:** <https://forum.mautic.org/t/i-think-mautic-may-be-flooding-my-hosting-server-with-hundreds-of-files-what-could-it-be/16553>\
**Category:** Product Support\
**Created:** [October 14, 2020, 4:30am UTC](https://forum.mautic.org/t/i-think-mautic-may-be-flooding-my-hosting-server-with-hundreds-of-files-what-could-it-be/16553 "2020-10-14T04:30:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MilesThatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/milesthatch/32/422_2.png) [@MilesThatch](https://forum.mautic.org/u/MilesThatch)\
**Post date:** [October 14, 2020, 4:30am UTC](https://forum.mautic.org/t/i-think-mautic-may-be-flooding-my-hosting-server-with-hundreds-of-files-what-could-it-be/16553/1 "2020-10-14T04:30:48Z")

</div>

Good day everyone.

I’ve recently set up Mautic to send out email notifications. No API’s are being used as of yet. I have a suspicion that Mautic may be flooding my web server with hundreds of files. If that was true, what could be causing this and where could I check? I have the cron jobs set up on every minute but we only have 3 email subscriptions set up for testing. The emails right now look like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7c771efc281be836dc9a3666abadbbbae31079f6.png)

I had set up the following cron jobs:  
console mautic:segments:update  
console mautic:campaigns:update  
console mautic:campaigns:trigger  
console mautic:emails:send  
console mautic:broadcasts:send  
console mautic:cleanup --days-old=15 --dry-run

would anyone know what might be happening?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [October 14, 2020, 5:09am UTC](https://forum.mautic.org/t/i-think-mautic-may-be-flooding-my-hosting-server-with-hundreds-of-files-what-could-it-be/16553/2 "2020-10-14T05:09:30Z")

</div>

Hi,

With the amount of mails you are speaking about seems very strange.

You can look in your spool, however I doubt this is the problem. Why do you think it is creating many files ? is your disk space going down ? Maybe you should check the size of mysql as well

Mautic 2.x: /var/www/your\_mautic\_dir/app/spool/default/ check out this directory to see if there are many files there

Mautic 3.x: /var/www/your\_mautic\_dir/var/spool/

---

<div class="post-metadata">

**Author:** ![MilesThatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/milesthatch/32/422_2.png) [@MilesThatch](https://forum.mautic.org/u/MilesThatch)\
**Post date:** [October 14, 2020, 5:28am UTC](https://forum.mautic.org/t/i-think-mautic-may-be-flooding-my-hosting-server-with-hundreds-of-files-what-could-it-be/16553/3 "2020-10-14T05:28:39Z")

</div>

My hosting plan allows unlimited file sizes but limited amount of files. Last night I cleared 5k files from the hosting and it’s been all tapped out by this morning. I’m, trying to hunt it down and Mautic is the first culprit I’m looking at as I haven’t been experimenting with any other tools , plugins or libraries.

I figured it might be creating files due to auto-backup, auto-update if those exist in the fresh installation, (I’m on 3.0.2) or perhaps emails are being scheduled over and over again due to my cron jobs being triggered every minute.

---

<div class="post-metadata">

**Author:** ![MilesThatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/milesthatch/32/422_2.png) [@MilesThatch](https://forum.mautic.org/u/MilesThatch)\
**Post date:** [October 14, 2020, 5:47am UTC](https://forum.mautic.org/t/i-think-mautic-may-be-flooding-my-hosting-server-with-hundreds-of-files-what-could-it-be/16553/4 "2020-10-14T05:47:42Z")

</div>

JESUS CHRIST… I figured it out…

Every time a Cron job I’ve set up for Mautic executes, it sends me a report with the execution results.  
6 cron jobs shooting every minute… yyyyyeah… my email has 300,000k emails in it rn…

So not really Mautic’s Fault but this was caused by me setting up cron jobs for mautic.  
So if anyone else experiences this… now you know
