500 errors and speeding up server

(Nic Hubbard) #1

Matrix Version:

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?

(Harinder Singh) #2

Hi Nic, I dont know the technical answer for your question but RDIS seems to be configured in our CMS.