Code Monkey home page Code Monkey logo

Comments (7)

bensmrs avatar bensmrs commented on June 16, 2024

The problem only appears when launching Warp10 with its unit file. When using the warp10 user, the problem does not appear.

from warp10-platform.

hbs avatar hbs commented on June 16, 2024

How many SST files are there in the leveldb directory? Looks like Warp 10 attempted to redispatch the SST files because it did not have access to the MANIFEST file, this hypothesis would be confirmed if the number of SST files is around 500k.

from warp10-platform.

bensmrs avatar bensmrs commented on June 16, 2024

There are 280224 files.
I ran a leveldb repair a few hours ago. Also, when running Warp 10 with the warp10 user, two CPU cores are maxed out and Warp 10 doesn’t open its HTTP port (I waited for a few hours and it seems stuck), that also happened right after the repair. Maybe it is repair related and I should rename the issue?

from warp10-platform.

bensmrs avatar bensmrs commented on June 16, 2024

Hmmm I think I start to see the problem: Compacting 280212@0 + 0@1 files.

from warp10-platform.

hbs avatar hbs commented on June 16, 2024

Yes, LevelDB repair is a process which scans all the SST files to determine the start and end keys of each one then puts them all at level 0. The next time LevelDB is open compactions will kick in which will attempt to ventilate the SST files in further levels.

from warp10-platform.

bensmrs avatar bensmrs commented on June 16, 2024

Damn… The compaction seems extremely slow (20k keys every 10 minutes), and I have like 400GB of data. Any tips on how to speed up the process (if it is even possible)?
To get back to the original message, LevelDB tries to open more files than allowed (actually, it seems that it opens the same files several times). Is it only the case during the compaction phase?

from warp10-platform.

hbs avatar hbs commented on June 16, 2024

The max open files is simply for the normal operations of LevelDB. For compactions it has to open at least N + 1 files when compacting N files.

I've sent you an email asking for you MANIFEST file.

from warp10-platform.

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.