Error 500 loading due to connection saturation
I attempted to load gitlab-org/gitlab!32610 (merged) several times and hit a 500 error. https://log.gprd.gitlab.net/goto/bf4cd72b1282ee45cc0babdc5abde872 showed
PG::TooManyConnections: ERROR: remaining connection slots are reserved for non-replication superuser connections
CONTEXT: parallel worker
https://dashboards.gitlab.net/d/pgbouncer-main/pgbouncer-overview?orgId=1&from=1589946478045&to=1589947859999&var-PROMETHEUS_DS=Global&var-environment=gprd&var-sigma=2 shows a spike in connections: