Open gonzalo- opened 3 months ago
The provided pprof log is a bit difficult to read.
Can you get a CPU profile using wget -O 'profile.pprof' 'http://localhost:65432/debug/pprof/profile?seconds=10'
(change port accordingly)?
Also, if you can, try updating to 0.13.7.
From what I can tell so far, the majority is spent in runtime/sys_openbsd3.go
, which seems to be called from bleve
(the fulltextsearch engine we use) and the underlying database bbolt
@S7evinK any recommendation or possible fix?
@S7evinK I can confirm that with 0.13.7 still the same behaviour.
Assuming you have fulltext search enabled, can you try disabling it? i.e. by setting sync_api.search.enabled
to false
in your Dendrite config.
@S7evinK yes, that drops the CPU usage to 2%
Background information
go version
: go-1.22.1Description
Steps to reproduce
I just upgrade the package, the previous version has no issue.
I got some logs from PPROF here
Disabled presence{enable_inbound,enable_outbound} doesn't fix the issue.