Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-Container CRON CPU Usage #1143

Closed
H4ckZ opened this issue Jul 12, 2022 · 4 comments
Closed

Docker-Container CRON CPU Usage #1143

H4ckZ opened this issue Jul 12, 2022 · 4 comments

Comments

@H4ckZ
Copy link

H4ckZ commented Jul 12, 2022

Versions

  • Pi-hole: 5.11.4
  • AdminLTE: 5.13
  • FTL: 5.16.1
  • Docker Tag: latest (2022.07.1)

Platform

  • OS and version: Raspbian Buster
  • Platform: Raspberry Pi

Expected behavior

Docker container running in background with "normal" cpu utilization.

Actual behavior / bug

I got the weird problem, that my cpu utilization (1 core) is pinned to 100% by a cron prozess running inside the container.
Even after some days it remains on 100%.. If i turn back to image Docker Tag [2022.02.1] everything seems to be fine.
All newer images seem to produce that "error"..?

Steps to reproduce

Steps to reproduce the behavior:

The part of my docker-compose for pihole:

grafik

Debug Token

Screenshots

Screenshot using Docker-Tag latest:
grafik

Screenshot using Docker-Tag 2022.02.01:
grafik

@PromoFaux PromoFaux transferred this issue from pi-hole/pi-hole Jul 12, 2022
@PromoFaux
Copy link
Member

I'm actually just in the middle of a massive tidy up of the code base (#1141)

However, noticing that you are on Raspbian buster on your Host OS, take a look at this comment for a fix: #1042 (comment)

@PromoFaux
Copy link
Member

@H4ckZ
Copy link
Author

H4ckZ commented Jul 12, 2022

Thanks I'll give it a try!!

Watchtower is just for testing purposes.. but thank you anyway :)

@H4ckZ
Copy link
Author

H4ckZ commented Jul 12, 2022

Totally fixed it! Thanks alot :)
grafik

For anyone else that may have this problem heres my docker-compose with the changes suggested by @PromoFaux above:
grafik

@H4ckZ H4ckZ closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants