Re: db sever seems to be dropping connections
От
Tom Lane
Тема
Re: db sever seems to be dropping connections
Дата
Msg-id
8269.1142892954@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: db sever seems to be dropping connections "Rushabh Doshi" <rdoshi@vmware.com>
Re: db sever seems to be dropping connections Tom Lane <tgl@sss.pgh.pa.us>
Re: db sever seems to be dropping connections Vivek Khera <vivek@khera.org>
Chris writes: > Rushabh Doshi wrote: >> I'm facing an issue with PostgreSQL .. The server seems to drop the >> connection to my script after a couple of hours (sometimes, not always). > Sounds more like a network issue. Yeah --- in particular, it sounds like a connection timeout imposed by a router or firewall. A lot of NAT-capable routers will drop idle TCP connections after a certain period of inactivity (typically an hour or so ... if you're lucky, the router will let you adjust the timeout). There is no connection timeout built into Postgres itself, so you should be looking for network-related limitations. regards, tom lane
В списке pgsql-general по дате отправления
От: Sigurdur Gunnlaugsson
Дата: