We used to get this error a while back, so we put more RAM into our DB server, but sadly just got the error again:
Fatal error: Uncaught exception 'Exception' with message 'Could not create database connection: DBError!:SQLSTATE[08006] [7] FATAL: connection limit exceeded for non-superusers' in /home/websites/mysource_matrix/core/include/mysource.inc:3267 Stack trace: #0 /home/websites/mysource_matrix/core/include/mysource.inc(220): MySource->changeDatabaseConnection('db') #1 /home/websites/mysource_matrix/core/include/init.inc(243): MySource->init() #2 /home/websites/mysource_matrix/core/cron/run.php(36): require_once('/home/websites/...') #3 {main} thrown in /home/websites/mysource_matrix/core/include/mysource.inc on line 3267
Currently, in our postgres config file, we have max_connections = 70. This seems super low. Should I bump this up? If so, to what number? We currently have 3369928kB of RAM on the server.
Thanks!