hello, core dev question:
During a balance update of an account, does the leaf of the trie gets updated with value or does a new set of nodes(or 1 node) gets generated and the hash of its parents up to the root gets updated? This does mean every balance update a new node is inserted in LevelDB or the value just get updated?
since if there is no node created then how do the history balance of the user in a specific block gets computed, OR if a new node is generated to preserve history, this does mean that every balance update which happen most often increases the size of leveldb.
Which one is correct?
Fatal: Failed to create the protocol stack: datadir already used by another process
I have Geth behind the Nginx, my dApp uses RPC and keep-alive connection in requests. For a long time this couple works fine but since early July it often throws
502 error, 'cause connection close on
Nginx <-> Geth side by Geth, here's the Nginx logs:
2021/08/13 18:04:05 [error] 1499#1499: *3 upstream prematurely closed connection while reading response header from upstream, client: 172.16.0.133, server: goerli-node, request: "POST / HTTP/1.1", upstream: "http://127.0.0.1:45690/", host: "127.0.0.1:8550" 2021/08/13 18:26:26 [error] 1858#1858: *3 upstream prematurely closed connection while reading response header from upstream, client: 172.16.0.133, server: goerli-node, request: "POST / HTTP/1.1", upstream: "http://127.0.0.1:45690/", host: "127.0.0.1:8550"
is it any straight-forward way to figure out what's happened. I have tried
--verbosity=5 but got nothing interesting....
first time it was issued on
Geth/pheix-authnode-msk-ru/v1.10.4-stable-aa637fd3/linux-amd64/go1.16.5, now i'm using latest
closeconnections it works perfect.