Can someone tell me the easiest way to have the postmaster shut down idle
connections after some period of time? Or is this even the right way to
think about it?
I'm using Postgres as a back end with PHP/Apache in the middle. The server
keeps bogging down because apache doesn't seem to reuse old processes with
their connections very well -- the number of open connections keeps growing
until postmaster refuses any new ones.
Do I just need a way of shutting down the idle connections? Or is there
something else I'm missing?
-- sgl