Giter VIP home page Giter VIP logo

Comments (3)

jeffballard avatar jeffballard commented on May 21, 2024

I might also suggest a third way. The "docker way" is to log to stdout/stderr and let docker handle the logs. https://docs.docker.com/config/containers/logging/

from docker-freepbx.

tiredofit avatar tiredofit commented on May 21, 2024

Hi, just in the middle of moving houses so will look into this in a few days, I'm likely to just purge the contents of the cron.daily/.hourly folders and stick loading cron via the s6 init system. However, in the meantime, you can put in your environment variables ENABLE_CRON=FALSE which will disable the logrotate immediately until I have a fix.

@jeffballard I would love to go the docker route (or better, send it to Logstash), this image has multiple logs (fail2ban, freepbx and asterisk <at least 5> and then apache) which might get pretty unruly quickly. My asterisk/full log is over 3gb in a 24 hour period.

I have someone in my office working on an alternative logging solution that I should see the results of it when back in October 15th, and if it meets our needs I will merge it into this image.

from docker-freepbx.

tiredofit avatar tiredofit commented on May 21, 2024

@tgruenert I have identified the issue. Anacron isn't installed but is being called from the cron.* as identified, so I have cleaned that up. However the more glaring problem was that Logrotate was archiving Apache log files, but then creating archives of those archives creating one big mess and pinning the CPU with compressing the logs. Our logs are huge so this was naturally causing some performance issues. Thanks for the report. There is a new build coming momentarily.

from docker-freepbx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.