Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already
connection to server at "127.0.0.1", port 5432 failed: FATAL: remaining connection slots are reserved for roles with the SUPERUSER attribute in /www/wwwroot/7yue.fanmulu.com/core/PostgresStore.php:44
Stack trace:
#0 /www/wwwroot/7yue.fanmulu.com/core/PostgresStore.php(44): PDO->__construct()
#1 /www/wwwroot/7yue.fanmulu.com/core/PostgresDatabase.php(30): Panzhan\Core\PostgresStore::connect()
#2 /www/wwwroot/7yue.fanmulu.com/core/PostgresDatabase.php(24): Panzhan\Core\PostgresDatabase->__construct()
#3 /www/wwwroot/7yue.fanmulu.com/core/ContentNavigation.php(237): Panzhan\Core\PostgresDatabase::open()
#4 /www/wwwroot/7yue.fanmulu.com/core/ContentNavigation.php(21): Panzhan\Core\ContentNavigation->open()
#5 /www/wwwroot/7yue.fanmulu.com/core/Router.php(44): Panzhan\Core\ContentNavigation->get()
#6 /www/wwwroot/7yue.fanmulu.com/public/index.php(1508): Panzhan\Core\Router::isNavigationRequestForHost()
#7 {main}
Next RuntimeException: PostgreSQL connection is unavailable; verify database.php and pdo_pgsql. in /www/wwwroot/7yue.fanmulu.com/core/PostgresStore.php:53
Stack trace:
#0 /www/wwwroot/7yue.fanmulu.com/core/PostgresDatabase.php(30): Panzhan\Core\PostgresStore::connect()
#1 /www/wwwroot/7yue.fanmulu.com/core/PostgresDatabase.php(24): Panzhan\Core\PostgresDatabase->__construct()
#2 /www/wwwroot/7yue.fanmulu.com/core/ContentNavigation.php(237): Panzhan\Core\PostgresDatabase::open()
#3 /www/wwwroot/7yue.fanmulu.com/core/ContentNavigation.php(21): Panzhan\Core\ContentNavigation->open()
#4 /www/wwwroot/7yue.fanmulu.com/core/Router.php(44): Panzhan\Core\ContentNavigation->get()
#5 /www/wwwroot/7yue.fanmulu.com/public/index.php(1508): Panzhan\Core\Router::isNavigationRequestForHost()
#6 {main}
thrown in /www/wwwroot/7yue.fanmulu.com/core/PostgresStore.php on line 53