-
Notifications
You must be signed in to change notification settings - Fork 182
Description
Description
HI
I check the document, and it can limit monitor account conncetion number.
ALTER USER monitor CONNECTION LIMIT 2;
Because I find out if I have five user db, each userdb will open 4 connections, and there will be 20 ilde connctions finally.
If I limit user account "monitor" number as 2, there are only two connections right, but there will be bunch of fatal errors in
postgresql log like this.
2022-11-16 01:07:52.590 -04 [493080] monitor@postgres 192.168.XXX.XXX(44096)FATAL: too many connections for role "monitor"
All suggestions are welcome, Thank you!
Expected Results
1.No fatal errors in postgresql
2. lower monitor account conncetions
Actual Results
bunch of fatal errors in
postgresql log like this.
2022-11-16 01:07:52.590 -04 [493080] monitor@postgres 192.168.XXX.XXX(44096)FATAL: too many connections for role "monitor"
Version
pmm server 2.32
pmm client 2.32
Steps to reproduce
No response
Relevant logs
No response
Code of Conduct
- I agree to follow Percona Community Code of Conduct