Open abitmore opened 6 years ago
By the way, the biggest p2p log file on my test node is 35 MB
, which is for a hour. That means we need around 35 MB * 24 * 7 ~= 6 GB
of disk space to store p2p log files (which IMO is fine).
I think there are 2 possible ways this can happen:
so,we should add new check code.
related:
fill_or_kill
is another thing that is spamming the p2p log heavily.
It's better to only log useful exceptions.
Suppressed some p2p logs in #1875, but didn't deal with the duplicate transaction pushing issue, so I'd like to keep this issue open.
After firstly synced, when witness_node is in normal running mode, I noticed lots of messages in
p2p.log
(with log levelwarn
):This occurs when p2p failed to push a transaction to object database.
Possible optimization:
Thoughts?