This seems to happen sometimes when the backups are going, which are done every hour though not always. Users notice this a lot between the hours of 6am to 10am which 1 in 20 connections failing to be established. Does pg_dumpall or pg_dump lock the database block access to the database so you cant create connections? Could it be possible postgresql can only create one connection at a time and if it gets two requests for a connection at the same time it fails? Do you have any ideas how I can test the database in a way to find out what could be causing this problem?
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html