Thanks for the answer Matthew. I just got it fixed. The problem was I had maxconnections too high in postgresql.conf. I had increased it to 1000 because the default value of 100 was too low. It seemed that it kept a lot of open connections even though I didn't use persistent connections in PHP. Well, the solution was decrease maxconnections to 200. Cheers, Fabio __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com