Increase the number of connections¶
Run the command
sudo nano /etc/postgresql/11/main/postgresql.conf
Press Ctrl+W, input max_conn and press Enter
Change the value from 100 to 200
Press Ctrl+O for saving, then Ctrl+X for escaping
Restart PostgreSQL with the command:
sudo service postgresql restart