I looked at putty's help documentation and found a keep-alive setting that will send empty packets every so often to keep the session active. It's pretty much the same thing that happens when FTPing to a remote server, and this is of course the same recourse used to keep FTPs from timing out as well.
From: Tsirkin Evgeny [mailto:tsurkin(at)mail(dot)jct(dot)ac(dot)il]
Sent: Sunday, February 15, 2004 2:10 AM
To: Tom Lane; jer(at)highboard(dot)com
Subject: Re: [ADMIN] SSH connection timing out
Do you use PuTTy as the ssh client? If yes then here you are ,it
is the connection problem .i have it all the time and did not found
what to do with.Actually that is not only putty problem ,but for
example linux ssh client at least does not just freeze - it says
something like 'connection timeout'.Just as a proof that this
is an ssh problem and not postgres - i have 2 servers with the
same config but on diff networks - one neither have a freeze while
the other all the time.
On Sun, 15 Feb 2004 11:56:16 -0500, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Jeremy Smith" <jer(at)highboard(dot)com> writes:
>> I know this isn't strictly a postgresql question, but I'm sure it
>> applies to
>> others out there using psql. If I am working in psql from SSH and
>> switch to
>> another window, it seems that there is a very short window of time
>> the window freezes and doesn't allow any more input.
> Never heard of such a problem before. What's your environment, and
> would you give a more complete description of the problem?
> regards, tom lane
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
In response to
pgsql-admin by date
|Next:||From: Mark Lubratt||Date: 2004-02-15 19:54:18|
|Subject: 7.3.2 - 7.4.1 on RedHat 9.0|
|Previous:||From: Jeremy Smith||Date: 2004-02-15 19:24:20|
|Subject: Re: SSH connection timing out |