Skip to content

Commit 5e2834f

Browse files
committed
Increase postgresql server max connections to 200
Look like metasploit-framework doesn't close properly pgsql connections (or maybe I am abusing the msfrpc server.. :)). This changes increases pgsql max allowed connections to avoid the error message "FATAL: remaining connection slots are reserved for non-replication superuser connections' the time to investigate where is the leak..
1 parent 5272f81 commit 5e2834f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roles/postgresql-server.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
},
3030
"config": {
3131
"ssl": true,
32-
"listen_addresses": "0.0.0.0"
32+
"listen_addresses": "0.0.0.0",
33+
"max_connections": 200
3334
},
3435
"pg_hba": [
3536
{

0 commit comments

Comments
 (0)