In my application, the idle sessions are consuming cpu and ram. refer the ps command output.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных