Hello @flamber, I hope you're doing well.
I'm opening this topic because the last few days, I noticed that one of my Metabase instance became very slow (talking mainly about webapp response time) going from 50ms - 200ms to serve HTTP requests to around 3000ms now. CPU and RAM of my instance also goes up significantly even when usage is low (lunch break for instance).
This is the case on only one of my 3 instances, all with version 0.43.4, it started before the upgrade (0.43.3) but remains afterwards.
When looking at the logs, I see a lot of exceptions passing by that mention "ERROR: abort query" or "ERROR: Query (98713593) cancelled on user's request " (I can provide examples if necessary).
When investigating further, it seems that Metabase is launching requests in a loop from users, then cancelling those requests, which can overload the instance. I could not determine what triggered this behaviour though.
I was wondering if you had some ideas on what could be causing those requests and errors, and if anything else could be related to the instance's slowdown.
Here's the diagnostic info :
{
"browser-info": {
"language": "fr-FR",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.15+10",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.15",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.15+10",
"os.name": "Linux",
"os.version": "4.14.275-207.503.amzn2.x86_64",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"redshift"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "13.4"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.3.2"
}
},
"run-mode": "prod",
"version": {
"date": "2022-06-27",
"tag": "v0.43.4",
"branch": "release-x.43.x",
"hash": "61cc28e"
},
"settings": {
"report-timezone": null
}
}
}
Thanks a lot for your help.