[Yandex Cloud documentation](../../../index.md) > [All solutions](../../index.md) > [Managed Service for PostgreSQL](../index.md) > Resolving the `max_connections conn_limit is too high` error

# Fixing the `max_connections conn_limit is too high` error



## Issue description {#issue-description}

You get the `max_connections conn_limit is too high` error when connecting to Managed Service for PostgreSQL.

## Solution {#issue-resolution}

By default, Managed Service for PostgreSQL limits the maximum number of connections to each PostgreSQL cluster host. This maximum value is calculated as follows: `200 × <number of vCPUs on each host>`. For an `s1.micro` class cluster, the default `max_connections` value is 400, and it cannot be increased. To have more connections, you need to upgrade the cluster class.

{% note info %}

Managed Service for PostgreSQL reserves 15 connections for service users per PostgreSQL host. 

For example, if `max_connections` is set to 100 for the cluster, you can reserve no more than 85 connections for your cluster users.

{% endnote %}