How can i find the connections made/utilized to my PostgreSQL at a particular given time frame ?
In the PostgreSQL logs i am getting
JSTERROR: canceling statement due to user request
Sar logs :
MEM AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit
09:00:01 AM 25773712 40158364 60.91 257512 35876668 4552540 5.53
09:10:01 AM 25728656 40203420 60.98 258080 35920500 4555720 5.53
Some config settings:
max_connections = 2000
superuser_reserved_connections = 3
shared_buffers = 1GB
effective_cache_size = 128MB
work_mem = 1GB
maintenance_work_mem = 16MB
How can i troubleshoot this?
Advice welcome.