> Source: [sk179368](https://support.checkpoint.com/results/sk/sk179368)

# sk179368 - After upgrading the Multi-Domain Server to R81.10, policy installation on a large number of gateways fails with: "operation incomplete due to timeout" 

| Property | Value |
|----------|-------|
| Solution ID | sk179368 |
| Date Created | 2022-05-31 |
| Last Modified | 2022-06-11 |
| Technical Level | General |
| Products | Multi-Domain Security Management Server |
| Versions | R81.10 (EOS) |
| OS | Gaia |

## Symptoms

- * After upgrading the Multi-Domain Server from R80.40 to R81, policy Installation on a large number of gateways at the same time fails with this error "*Operation incomplete due to timeout*".
* When installing policy on a smaller number of gateways, policy installation is successful.
* During policy installation, SmartConsole may disconnect with this error "*The connection with the server was lost* ". Further login attempt to SmartConsole fails with this error "*The operation timed out*"

## Cause

The timeouts occur as many threads are waiting for postgres to accept their connection.

## Solution

Run these commands on the Multi-Domain Server:  

1. `# sh $MDS_FWDIR/scripts/override_server_setting.sh -e NGM_DATABASE_MIN_POOL_SIZE 250`
2. `# mdsstop;mdsstart`
This increases the amount of allowed connections to the database, and handles the timeouts.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
