Memory leak/high cpu usage
glinton opened this issue · 3 comments
glinton commented
root 224 59.7 66.1 20616848 5405772 ? Sl Jan09 19982:54 logvac --server -c /etc/logvac/config.json
8GB/4CPU Server. Steady stream of logs, assuming for the entire month, after restarting logvac, memory usage quickly crept up to the same ~5GB, cpu reported ~48% after restart.
Snippet from trace logs
Trying Parser...
Bolt archive writing...
Mist publisher publishing...
logvac 0.0.1 (19251279cc32133c40e7272219afb0c8a400e80e)
glinton commented
Confirmed, this is triggered by the Expire()
function, likely where doing bolt Update
s
glinton commented
18GB boltDB file
glinton commented
Fixed age-based log cleanup, looking into volume-based