pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedSSH connection timing out
7+ messages / 5 participants
[nested] [flat]
* SSH connection timing out
@ 2004-02-15 02:24 Jeremy Smith <jer@highboard.com>
2004-02-15 16:56 ` Re: SSH connection timing out Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 7+ messages in thread
From: Jeremy Smith @ 2004-02-15 02:24 UTC (permalink / raw)
To: pgsql-admin
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 before
the window freezes and doesn't allow any more input. Does anyone know how
to change the setting that controls how much time the window can remain
without input before it shuts down?
Thanks,
Jeremy
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSH connection timing out
2004-02-15 02:24 SSH connection timing out Jeremy Smith <jer@highboard.com>
@ 2004-02-15 16:56 ` Tom Lane <tgl@sss.pgh.pa.us>
2004-02-15 07:10 ` Re: SSH connection timing out Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
0 siblings, 1 reply; 7+ messages in thread
From: Tom Lane @ 2004-02-15 16:56 UTC (permalink / raw)
To: jer@highboard.com; +Cc: pgsql-admin
"Jeremy Smith" <jer@highboard.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 before
> 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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSH connection timing out
2004-02-15 02:24 SSH connection timing out Jeremy Smith <jer@highboard.com>
2004-02-15 16:56 ` Re: SSH connection timing out Tom Lane <tgl@sss.pgh.pa.us>
@ 2004-02-15 07:10 ` Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
2004-02-15 19:24 ` Re: SSH connection timing out Jeremy Smith <jer@highboard.com>
2004-02-15 19:50 ` Re: SSH connection timing out Jeremy Smith <jer@highboard.com>
0 siblings, 2 replies; 7+ messages in thread
From: Tsirkin Evgeny @ 2004-02-15 07:10 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; jer@highboard.com; +Cc: pgsql-admin
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.
Evgeny
On Sun, 15 Feb 2004 11:56:16 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jeremy Smith" <jer@highboard.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
>> before
>> 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@postgresql.org
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSH connection timing out
2004-02-15 02:24 SSH connection timing out Jeremy Smith <jer@highboard.com>
2004-02-15 16:56 ` Re: SSH connection timing out Tom Lane <tgl@sss.pgh.pa.us>
2004-02-15 07:10 ` Re: SSH connection timing out Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
@ 2004-02-15 19:24 ` Jeremy Smith <jer@highboard.com>
1 sibling, 0 replies; 7+ messages in thread
From: Jeremy Smith @ 2004-02-15 19:24 UTC (permalink / raw)
To: pgsql-admin
Hi Evgeny,
yes I am PUTTY. I knew it wasn't a postgres problem, but thought there might be some server variable controlling timeout. I didn't know that other SSH clients didn't have the same thing happen. Since I am logging to my machine remotely, I can't use the linux ssh client, but I'll see if anything else is out there.
Jeremy
-----Original Message-----
From: Tsirkin Evgeny [mailto:tsurkin@mail.jct.ac.il]
Sent: Sunday, February 15, 2004 2:10 AM
To: Tom Lane; jer@highboard.com
Cc: pgsql-admin@postgresql.org
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.
Evgeny
On Sun, 15 Feb 2004 11:56:16 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jeremy Smith" <jer@highboard.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
>> before
>> 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@postgresql.org
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSH connection timing out
2004-02-15 02:24 SSH connection timing out Jeremy Smith <jer@highboard.com>
2004-02-15 16:56 ` Re: SSH connection timing out Tom Lane <tgl@sss.pgh.pa.us>
2004-02-15 07:10 ` Re: SSH connection timing out Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
@ 2004-02-15 19:50 ` Jeremy Smith <jer@highboard.com>
2004-02-16 09:22 ` Re: SSH connection timing out tsurkin@jct.ac.il
2004-02-17 15:21 ` Re: SSH connection timing out Bruce Momjian <pgman@candle.pha.pa.us>
1 sibling, 2 replies; 7+ messages in thread
From: Jeremy Smith @ 2004-02-15 19:50 UTC (permalink / raw)
To: pgsql-admin
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.
Jeremy
-----Original Message-----
From: Tsirkin Evgeny [mailto:tsurkin@mail.jct.ac.il]
Sent: Sunday, February 15, 2004 2:10 AM
To: Tom Lane; jer@highboard.com
Cc: pgsql-admin@postgresql.org
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.
Evgeny
On Sun, 15 Feb 2004 11:56:16 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jeremy Smith" <jer@highboard.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
>> before
>> 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@postgresql.org
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSH connection timing out
2004-02-15 02:24 SSH connection timing out Jeremy Smith <jer@highboard.com>
2004-02-15 16:56 ` Re: SSH connection timing out Tom Lane <tgl@sss.pgh.pa.us>
2004-02-15 07:10 ` Re: SSH connection timing out Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
2004-02-15 19:50 ` Re: SSH connection timing out Jeremy Smith <jer@highboard.com>
@ 2004-02-16 09:22 ` tsurkin@jct.ac.il
1 sibling, 0 replies; 7+ messages in thread
From: tsurkin@jct.ac.il @ 2004-02-16 09:22 UTC (permalink / raw)
To: jer@highboard.com; +Cc: pgsql-admin
do you mean the "seconds between keepalive" ?
and thanks i will try it.
Quoting Jeremy Smith <jer@highboard.com>:
> 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.
>
> Jeremy
>
> -----Original Message-----
> From: Tsirkin Evgeny [mailto:tsurkin@mail.jct.ac.il]
> Sent: Sunday, February 15, 2004 2:10 AM
> To: Tom Lane; jer@highboard.com
> Cc: pgsql-admin@postgresql.org
> 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.
> Evgeny
> On Sun, 15 Feb 2004 11:56:16 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> > "Jeremy Smith" <jer@highboard.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
> >> before
> >> 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@postgresql.org
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSH connection timing out
2004-02-15 02:24 SSH connection timing out Jeremy Smith <jer@highboard.com>
2004-02-15 16:56 ` Re: SSH connection timing out Tom Lane <tgl@sss.pgh.pa.us>
2004-02-15 07:10 ` Re: SSH connection timing out Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
2004-02-15 19:50 ` Re: SSH connection timing out Jeremy Smith <jer@highboard.com>
@ 2004-02-17 15:21 ` Bruce Momjian <pgman@candle.pha.pa.us>
1 sibling, 0 replies; 7+ messages in thread
From: Bruce Momjian @ 2004-02-17 15:21 UTC (permalink / raw)
To: jer@highboard.com; +Cc: pgsql-admin
Jeremy Smith wrote:
> 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.
I also find Putty SSH bursty when redrawing the screen, so locally I
just use putty telnet connections.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2004-02-17 15:21 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-15 02:24 SSH connection timing out Jeremy Smith <jer@highboard.com>
2004-02-15 16:56 ` Tom Lane <tgl@sss.pgh.pa.us>
2004-02-15 07:10 ` Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
2004-02-15 19:24 ` Jeremy Smith <jer@highboard.com>
2004-02-15 19:50 ` Jeremy Smith <jer@highboard.com>
2004-02-16 09:22 ` tsurkin@jct.ac.il
2004-02-17 15:21 ` Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox