GithubHelp home page GithubHelp logo

Comments (12)

tbfleming avatar tbfleming commented on June 12, 2024

Linux's out-of-memory killer probably killed it. If you're running Docker Desktop, then increase its RAM limit.

from history-tools.

bakasura980 avatar bakasura980 commented on June 12, 2024

I will try it out. What about j10 option, what does it means ?

from history-tools.

tbfleming avatar tbfleming commented on June 12, 2024

Build using 10 parallel processes. Make sure you assign at least 10 CPUs to Docker Desktop.

from history-tools.

bakasura980 avatar bakasura980 commented on June 12, 2024

I have a VM with 12CPUs and 12 GB of RAM and the ninja build reaches step 375 and stays there for hours and nothing happens. Is this normal?

from history-tools.

bakasura980 avatar bakasura980 commented on June 12, 2024

How actually to run this toolset

from history-tools.

tbfleming avatar tbfleming commented on June 12, 2024

It's not normal for it to pause more than a couple minutes. It probably needs more RAM.

See the documentation for how to use it after it's built. The documentation doesn't cover docker containers.

from history-tools.

bakasura980 avatar bakasura980 commented on June 12, 2024

I finally succeed to compile all the things and I have fill-pg plugin enabled.
I am trying to get a result from the chain as I have a running wasm-ql-pg. I have started it just like ./wasm-ql-pg and when I try to execute this request:
curl localhost:8880/v1/chain/get_abi -d '{"account_name": "eosio.token"}'
I am getting query failed: wasm linked function failure. What does it mean

from history-tools.

tbfleming avatar tbfleming commented on June 12, 2024

I just did a fresh build of the container; it didn't reproduce this issue.

Which branch are you on? What changes did you make to the dockerfile?

This change is now necessary since 1.8.1 was dropped:

from:

run wget https://github.com/EOSIO/eos/releases/download/v1.8.1/eosio_1.8.1-1-ubuntu-18.04_amd64.deb
run apt-get install -y ./eosio_1.8.1-1-ubuntu-18.04_amd64.deb

to:

run wget https://github.com/EOSIO/eos/releases/download/v1.8.6/eosio_1.8.6-1-ubuntu-18.04_amd64.deb
run apt-get install -y ./eosio_1.8.6-1-ubuntu-18.04_amd64.deb

from history-tools.

tbfleming avatar tbfleming commented on June 12, 2024

master branch now has the above change. Tag v0.2.1-alpha

from history-tools.

bakasura980 avatar bakasura980 commented on June 12, 2024

Actually I am not using Docker. I am using this https://eosio.github.io/history-tools/build-ubuntu-1804.html in order to build it. I processed it step by step and yes - I changed to v1.8.6. This is the only change. I am on the master branch. Could you specify what hardware you are using please

from history-tools.

bakasura980 avatar bakasura980 commented on June 12, 2024

Also, is there a way to build only the fill-pg and wasm-ql ?

from history-tools.

bakasura980 avatar bakasura980 commented on June 12, 2024

What will happen in the following scenario:
If we have two nodes and each of them stores in a different postgresql. If the first node goes down for some time after reconnection and syncing, does it lose the data processed in this gap time? If so, Is there a mechanism to sync it's db with the one from the second node. If for some reason the db vm goes down, is there a way to restore all of it's transactions data from the chain ?

from history-tools.

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.