Search Postgresql Archives

Re: PGconn gets frozen ocassionally after select() timeout

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

 



Marek Peca <marek@xxxxxxx> writes:
>> In any case, that complaint should be directed to your kernel vendor
>> not us.  We do not control how long the TCP stack waits before declaring
>> the connection dead.

> Well, this is what I wanted to hear. So if I call PQstatus() or PQexec(), 
> the libpq sends some data to the TCP pipe, and you expect, that my broken 
> underlying TCP/IP subsystem pretends, that the connection is OK and the 
> data have been sent. Right?

Well, if you *never* get a failure, then yeah I think you have a broken
TCP stack.  The default timeouts on this sort of thing are annoyingly
long, but they aren't infinite.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[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