Git Product home page Git Product logo

Comments (4)

smarquard avatar smarquard commented on May 27, 2024

Actually it seems the reference CA and Galicaster report different things using this configuration. For the reference CA, this is a minimum value:

# The default minimum available disk space, under which recordings are erased from the system
# IN BYTES
# NOTE:  This diskspace value does *NOT* take the reserved disk space for the root user into account
# PLEASE:  Set this value to more than the reserved space on disk (typically 5%) otherwise the minimum disk space
#          checks will not function because there will appear to be enough disk even if you cannot write to the 5%
capture.cleaner.mindiskspace=536870912

whereas for Galicaster, it's actual free space.

So maybe there should be a new property to report actual space that is unambiguous.

Corresponding Galicaster issue is:

teltek/Galicaster#437

from pyca.

lkiesow avatar lkiesow commented on May 27, 2024

This should be specified as part of the new ca api.
It does not really make sense to have different keys for different capture agents.

The question remains if a capture agent should do that at all since there are monitoring tools dedicated to this.

from pyca.

smarquard avatar smarquard commented on May 27, 2024

True (the latter part), though speaking as someone whose pyca's recently ran out of disk space, people don't always configure those monitoring tools correctly even when they're available :-) So defense in depth...

Actually I think it's more valuable to set the error state on the CA for low disk space conditions. Reporting the actual free disk space does seem like straying over a separation of concerns boundary.

from pyca.

lkiesow avatar lkiesow commented on May 27, 2024

Closing this since the disk space is now in the metrics API and the user interface. It's still not defined in the capture agent API.

from pyca.

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.