Re: Problems with the connection to a Remote Database.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with the connection to a Remote Database.
Дата
Msg-id 2376.1088002783@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problems with the connection to a Remote Database.  (Aryan Ariel Rodriguez Chalas <wimogan@yahoo.com>)
Список pgsql-admin
=?iso-8859-1?q?Aryan=20Ariel=20Rodriguez=20Chalas?= <wimogan@yahoo.com> writes:
> Hi every body, my best regards for every one who reads
> this message. I'm writing this message in order to get
> some help with a problem I'm having with the
> connection I make to a remote Database using
> PostgreSQL on a Linux Operating System. The matter is
> that when I make my connection every query I make
> works pretty well during a few minutes after making
> the connection, but if I leave the connection
> established and go doing something, when I come back
> to continue making queries, after more or less 10
> minutes, the connection seems to be loosen and it says
> that I have to reset the connection to continue
> working.

Sounds like you have a firewall with a very short activity timeout
between you and the remote system.  You need to fix the firewall.
(The timeout is likely associated with discarding the NAT mapping
for your connection; you may be able to adjust it in the firewall's
NAT settings.)

Or, if you can't do that, program your application to send dummy
queries every so often ...

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "V i s h a l Kashyap @ [Sai Hertz And Control Systems]"
Дата:
Сообщение: Re: Backup / Restore
Следующее
От: Werner Bohl
Дата:
Сообщение: Non existent user error on restore