Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2009-04-23 Thread Willy-Bas Loos
There are tcp_keepalives on the server side of postgresql The problem was that debian waits 2 hours before starting the keepalives (7200 s). Also, the connection would only be kept alive for 9*75 s, which is 11 min. So i changed the tcp_keepalives_idle to 120 (keepalives start after 2 min) and th

Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2009-04-23 Thread Willy-Bas Loos
I looked at this problem once again with a colleage and came to the conclusion that the firewall is timing out the connection. Some other client software packages, like SSH for example, have a mechanism to manage this problem: "NAT firewalls like to time out idle sessions to keep their state tabl

Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2008-04-10 Thread Willy-Bas Loos
the point i was trying to make is that pgAdmin seems to have the possibility to restore the connection, since opening a new sql window does the trick. "All you'd need to do" would be to invoke this behavior when it is necessary, without opening a new window. cheers, WBL On Mon, Apr 7, 2008 at 6:

Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2008-04-07 Thread Willy-Bas Loos
Hi, We also have issues with connections ending abrubtly. Not only with pgAdmin by the way. We're at the end of a DSL line, and the connection usually has a lot of hiccups. After one of those hiccups, you have to wait for at least 30 seconds to find out what happened, after which you get a correct

Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2008-04-01 Thread Dave Page
On Mon, Mar 31, 2008 at 9:59 PM, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > I was able to reproduce this on 1.8.2, building from source (and I get > the hang this time, not the segfault). A small dialog box comes up to > tell me something (possibly that it's about to segfault), but it's not >

Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2008-03-31 Thread Maciek Sakrejda
admin: Xlib: unexpected async reply (sequence 0xf810)! -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Maciek Sakrejda <[EMAIL PROTECTED]> To: Dave Page <[EMAIL PROTECTED]> Cc: pgadmin-support@postgresql.org Subject: Re: [pgadmin-support] pgAd

Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2008-03-27 Thread Maciek Sakrejda
dmin-support@postgresql.org Subject: Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect Date: Thu, 27 Mar 2008 16:07:58 + On Mon, Mar 24, 2008 at 5:04 PM, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > pgAdmin hangs when connection drops while trying to execute a query > > Steps

Re: [pgadmin-support] pgAdmin hang on connection drop/reconnect

2008-03-27 Thread Dave Page
On Mon, Mar 24, 2008 at 5:04 PM, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > pgAdmin hangs when connection drops while trying to execute a query > > Steps to reproduce: > > 1. Open SQL query pane > 2. Type "SELECT pg_sleep(10);" > 3. Shut down postgres in less than ten seconds (the query in pg

[pgadmin-support] pgAdmin hang on connection drop/reconnect

2008-03-24 Thread Maciek Sakrejda
pgAdmin hangs when connection drops while trying to execute a query Steps to reproduce: 1. Open SQL query pane 2. Type "SELECT pg_sleep(10);" 3. Shut down postgres in less than ten seconds (the query in pgAdmin will error out) 4. Start postgres 5. Re-run the query Result: pgAdmin will hang. Exp