>> 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() showa lot of idle connections?