Too many connections to DB, how to optimize

At high loads I strongly recommend running pgbouncer, how is your db configured?