We're getting a lot of PostgreSQL resource usage (quite a few processes) with only this query:
SELECT * FROM "lime_template_configuration" "t" WHERE template_name='fruity_twentythree' AND sid IS NULL AND gsid IS NULL ORDER BY "t"."template_name" LIMIT 1
When I try this query myself, I don't get any row.
After searching for what was causing the resource usage I've found this when I've opened a survey:
root@bungei:/srv/backups/pg/survey-01# dsa-check-backuppg [survey-01, main] CANNOT-PARSE-WAL: survey-01/main.WAL.00000002.history[survey-01, main] WAL-IS-OLD: latest wal file is too old[survey-01, main] NOT-EXPIRING-DUE-TO-WARNINGS: have seen warnings, will not expire anything
it doesn't look like postgresql backups have resumed, are you sure everything is alright?