In my application, the idle sessions are consuming cpu and ram. refer the ps command output.
If you connect to the database, does select * from pg_stat_activity() show a lot of idle connections?
In my application, the idle sessions are consuming cpu and ram. refer the ps command output.