> disminuir la cantidad de conexiones.
/etc/postgresql/version/cluster/postgres.conf
-->> max_connections = "X"
¿realmente necesitas ese número?