I am using PostgreSQL 9.1 with pgbouncer as a connection pool and my os is Linux5 x86_64 GNU/Linux. but my problem is its working fine after server start up and all my queries from application executes well but after few hours my data base become slow and after few minutes it got completely stuck in fact I can't see my activity using
select * from pg_stat_activity;
but after restarting my jboss and database it again works fine.And it happens in busy transaction time.
I think that my memory is not released from database after a query.