Search Postgresql Archives

Re: Getting "timeout expired" error almost immediately (20-200ms)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux