Giter VIP home page Giter VIP logo

Comments (4)

zzzckck avatar zzzckck commented on September 28, 2024 1

based the your pprof file, seems like the knownTxs.Add() occupies lots of memory, was your node connected to lots of peers with large pending transaction needs to be broadcasted.
But the pprof is quite low level, while Golang would have GC to release the temporary memory of knownTxs.Add(), so this pprof may not that accurate.

from bsc.

sn00wman avatar sn00wman commented on September 28, 2024 1

thank you , i find the config.yaml
image
the max peer maybe too large 5000
amd our geth connect too many peer
image

i will try change MaxPeers less than 100

from bsc.

OmarMBNB avatar OmarMBNB commented on September 28, 2024

Try not specify the body cache and batch size: --bodies.cache=214748364800 --batchSize=4096M.
These 2 flags will bring heavy to RAM caches. Similar issue: node-real/bsc-erigon#39

from bsc.

zzzckck avatar zzzckck commented on September 28, 2024

System information

Geth version: geth v1.4.6 OS & Version: AWS Amazon Linux x86, with 32GB of memory

Our machine running the BSC full node gets its BSC process killed after running for several days. Checking the system message logs shows an OOM error. Below is the memory profile graph we observed using pprof.

image image
The memory was still increasing when using pprof. Could you please let me know the typical maximum memory usage of a BSC full node? Is it possible that the machine does not have enough memory?

I think BSC full node will generally take ~20GB. Could u provide your config.toml and cmd line? We can check if there is any unexpected memory usage.

from bsc.

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.