"Eric Brown" <yogieric@xxxxxxxxx> writes: > I'm running 8.0.3 on Linux 2.6. Once my application starts to get a bit > of load, I start getting application exceptions with the "timeout > expired" string from postgresql. I think it is coming from > src/interfaces/libpq/fe-misc.c. I don't think so. libpq only uses a timeout in that function when it's making a connection to the server and a connect_timeout has been specified in the connection parameters. You're showing an error that seems to have occurred on an already-live connection (although maybe I'm misinterpreting that). If it is libpq, the answer is you're using an unreasonably tight connection timeout. But that's hardly an unusual error message; have you eliminated the possibility it's coming from some other code entirely? regards, tom lane