Giter Site home page Giter Site logo

Low storage failure to prune about syncpop HOT 5 OPEN

bquandt avatar bquandt commented on June 26, 2024
Low storage failure to prune

from syncpop.

Comments (5)

x42 avatar x42 commented on June 26, 2024

The prune REST call returns Error dispatch server is not running.

This is because (since the disk-is full) the server can not update its alive marker in the database and the REST call does not contact the server.

Proposed solution: the prune REST call does not check if the server is alive (timestamp in database) but simply if there's a PID for the server in the database. -- downside: the call may fail silently.

from syncpop.

x42 avatar x42 commented on June 26, 2024

sorry wrong button pressed - this is not fixed yet.

from syncpop.

x42 avatar x42 commented on June 26, 2024

partly fixed in git rev 8787a7f (check for PID only). That still fails on reboot or server re-start: the server won't be able to set its new PID in the database)

question: how did you end up with a disk-full in the first place? With default config will prevent new recordings (or delete old ones) if the disk is close to full. It should take quite some config-file hacks to get into this state.

OTOH it may happen during postprocessing (concatenating files) and/or log-files.

from syncpop.

bquandt avatar bquandt commented on June 26, 2024

Didn't do anything special. Just let the thing run until no space. I didn't do anything special to change the config's, not extraoridinary, or beyond what would probably be the expected usages..

from syncpop.

x42 avatar x42 commented on June 26, 2024

fixed in ee62bbc279

  • server makes space to save database when it is restarted (it deletes the oldest audio files if it must) to save its new PID and update the database.
  • prune REST call ignores server uptime and checks for server PID only

What we really should do is prevent the disk full in the first place.

from syncpop.

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.