Matrix Version: 5.4.3.1
We have been getting quite a few 500 errors recently and our site goes down for maybe 5 minutes about once or twice a day. We are getting Fatal error: Uncaught exception 'Exception' with message: 'Could not create database connection: DBError!:SQLSTATE[08006] [7] FATAL: remaining connection slots are reserved for non-replication superuser connections' in [SYSTEM_ROOT]/core/include/mysource.inc(4713): MySource->changeDatabaseConnection('db')
. Our max_connections
is set to 100.
Should we be using Redis or Memcached? Or using Squid?