GithubHelp home page GithubHelp logo

Prysm Killed - Out of Memory about prysm HOT 6 OPEN

tunerooster avatar tunerooster commented on June 24, 2024
Prysm Killed - Out of Memory

from prysm.

Comments (6)

tunerooster avatar tunerooster commented on June 24, 2024 1

@tunerooster What flags are you running with ? You can try with --enable-experimental-state to see if it helps reducing resource consumption by prysm

beacon-chain --p2p-max-peers=150 --pprof --execution-endpoint=http://localhost:8551 --jwt-secret=/mnt/crypto/.ethereum/keystore/jwt.hex --datadir /mnt/crypto/.ethereum/prysm --suggested-fee-recipient 0x68...faeB

I will add: --enable-experimental-state but it may be a while before it happens again.

Thanks for the suggestion. Do you know if this happens to others?

from prysm.

nisdas avatar nisdas commented on June 24, 2024

@tunerooster What flags are you running with ? You can try with --enable-experimental-state to see if it helps reducing resource consumption by prysm

from prysm.

nisdas avatar nisdas commented on June 24, 2024

There is a case here that happens when syncing:
#13963

However it appears to be different to your case which appears to be more random

from prysm.

tunerooster avatar tunerooster commented on June 24, 2024

I assume you noticed that prysm was using (or trying to use) almost 72GB. That would mean I would need 56GB of swap space (at least). I know nothing about prysm's memory requirements, but that seems like it could be a bug. My staking machine is maxed out at 16GB real RAM (it's a processor limitition I guess), but swap space should mitigate this, particularly for the few short times it neesd more than 16GB. However I hesitate to try to expand swap to, say 64G, without understanding if this is a good thing to do.

I am running with the experimental flag now, so I'll report back with any results.

from prysm.

nisdas avatar nisdas commented on June 24, 2024

That is the virtual memory @tunerooster , from the log prysm was trying to use 11gb of physical memory. The reason that virtual memory used by prysm is so big is because we use a memory mapped database(bolt).

from prysm.

tunerooster avatar tunerooster commented on June 24, 2024

from prysm.

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.