Open licaon-kter opened 2 years ago
https://gist.github.com/licaon-kter/2a7c8f3e08ba8c78e9736eaa0c2dc305
From postgresql.log and ejabberd.log interleaved, those with ejabberd@ejabberd are from postgresql
ejabberd@ejabberd
https://gist.github.com/licaon-kter/fbb58d32a4231b13f28141f69659bc42
While the device is not crazy fast I keep seeing time outs in ejabberd.log as if Postgresql has issues keeping up with the queries.
As @weiss recommended in the support room, I've setup log_min_duration_statement to 250ms in Postgresql to have it log any slower ones.
log_min_duration_statement
What to do with this issue?
Find out why it "times out" for those SQL queries 'Q????????' I guess as those are marked as errors.
Is my db broken? Are the queries broken? etc
Environment
Configuration
https://gist.github.com/licaon-kter/2a7c8f3e08ba8c78e9736eaa0c2dc305
Errors
From postgresql.log and ejabberd.log interleaved, those with
ejabberd@ejabberd
are from postgresqlhttps://gist.github.com/licaon-kter/fbb58d32a4231b13f28141f69659bc42
While the device is not crazy fast I keep seeing time outs in ejabberd.log as if Postgresql has issues keeping up with the queries.
As @weiss recommended in the support room, I've setup
log_min_duration_statement
to 250ms in Postgresql to have it log any slower ones.