# Nightly disk space shortage

**URL:** <https://discourse.pi-hole.net/t/nightly-disk-space-shortage/56314>\
**Category:** Community Help\
**Created:** [July 3, 2022, 2:29pm UTC](https://discourse.pi-hole.net/t/nightly-disk-space-shortage/56314 "2022-07-03T14:29:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Roo](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/roo/32/25976_2.png) [@Roo](https://discourse.pi-hole.net/u/Roo)\
**Post date:** [July 3, 2022, 2:38pm UTC](https://discourse.pi-hole.net/t/nightly-disk-space-shortage/56314/2 "2022-07-03T14:38:51Z")

</div>

hmm posting here reminded me that yeah - td-agent-bit has been a problem in the past too [CPU usage grows until next reboot - caused by td-agent-bit](https://discourse.pi-hole.net/t/cpu-usage-grows-until-next-reboot-caused-by-td-agent-bit/49132)

While suspicious, this may not be the actual root cause.

I see 2 things happening in my logs during this time period

- man-db regeneration
- log file rotation

the log file rotation causes td-agent-bit (the logging agent) to find new files to rotate etc.

You can see the free disk space graph here

 ![free disk](https://discourse.pi-hole.net/uploads/default/original/3X/a/6/a6f5353d5dde2a8526c0324100cc767993f5cdeb.jpeg)

---

_[View the full topic](https://discourse.pi-hole.net/t/nightly-disk-space-shortage/56314)._
