Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: sorry, too many clients already in /var/www/html/common.php on line 10

Warning: pg_last_error(): No PostgreSQL link opened yet in /var/www/html/common.php on line 10
Could not connect: