Comments (4)
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.
thank you , i find the config.yaml
the max peer maybe too large 5000
amd our geth connect too many peer
i will try change MaxPeers less than 100
from bsc.
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.
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.
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)
- saw many logs of "Imported new potential chain segment", may impact performance HOT 2
- after force kill 10+ times, node can't sync HOT 1
- I want to get the data of Internal Txns. HOT 3
- bsc startup failure card in Rewinding blockchain to block HOT 1
- Too many P2P connections from old Geth/Erigon version. HOT 2
- I have a question, how do I determine whether I am using PathSchema&PebbleDB or HashSchema&LevelDB? HOT 4
- enable reconnect for part peers when do local test HOT 1
- Study the reasons for disconnection between nodes and optimize HOT 1
- use Geth fast node with pbss error BAD BLOCK HOT 4
- feature: granted admin permission HOT 1
- on node restart, it took ~6min to get synced, should be faster HOT 9
- Migrating from leveldb to pebbledb. How to enable pebble db backend? HOT 14
- Support compilation with Go 1.23 HOT 3
- Failed to decode block body, Rpc error: transaction indexing is in progress HOT 4
- ERROR[08-13|02:19:31.205] Error in block freeze operation err="canonical hash missing, can't freeze block 120000" HOT 1
- 10
- 100
- This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. HOT 2
- skip known block execution without receipt HOT 5
- memory leak HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsc.