Re: pgAdmin hang on connection drop/reconnect

From: "Willy-Bas Loos" <willybas(at)gmail(dot)com>
To: "Dave Page" <dpage(at)pgadmin(dot)org>
Cc: "Maciek Sakrejda" <msakrejda(at)truviso(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: pgAdmin hang on connection drop/reconnect
Date: 2008-04-10 09:49:41
Message-ID: 1dd6057e0804100249k2239a063lbd6a5c22ba47ff83@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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:18 PM, Willy-Bas Loos <willybas(at)gmail(dot)com> wrote:

>
> 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 error message, and a
> dialog suggesting to close the server browser.
> Sometimes, not quite reproducable, pgAdmin will crash instead of showing
> the error message.
> During these 30 seconds, during which, presumably, pgAdmin waits for a
> server response, interaction with any of the pgAdmin windows is not
> possible, so that queries cannot be saved, nor can the request be cancelled.
>
> It seems that the main window in pgAdmin is more sensitive to these
> hiccups than the SQL window. Sometimes (it's hard to say exactly when,
> because you can't notice the hiccups otherwise) the main window will not
> work anymore, whereas the SQL window will.
> You can trick pgAdmin to reconnect by pressing the "new" button in the SQL
> window, the new window will have a connection (copy paste the query and
> close the stale window).
> But it would be MUCH nicer (these hiccups are driving us crazy) if pgAdmin
> would be less sensitive. For example, reconnect when there is user activity
> after connection is lost. Also, it would be nice if there would be the
> option to cancel the query once you notice that the connection has been
> lost, and the possibility to save your work in those 30-50 secs that
> sometimes feel like 30 minutes.
>
> Cheers, btw, i am a great pgAdmin fan.
>
> WBL
>
>
>
>
>
>
>
> On Tue, Apr 1, 2008 at 5:56 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
> > On Mon, Mar 31, 2008 at 9:59 PM, Maciek Sakrejda <msakrejda(at)truviso(dot)com>
> > 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
> > > drawn correctly (presumably because the refresh drawing routines
> > don't
> > > get called correctly by that point), so I'm not sure what it says.
> > Then
> > > pgAdmin stays like this until I try to close that dialog, at which
> > point
> > > I get the "Not responding/Wait/Force Quit" dialog box from Gnome.
> > >
> > > I noticed that I get the following on the command line where I start
> > > pgadmin:
> > >
> > > Xlib: unexpected async reply (sequence 0xf810)!
> >
> > Can you get a backtrace? This might require you to build a debug enabled
> > binary.
> >
> >
> > --
> > Dave Page
> > EnterpriseDB UK Ltd: http://www.enterprisedb.com
> > PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk
> >
> > --
> > Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgadmin-support
> >
>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Linda Scheiber 2008-04-10 20:32:41 When initiating the option to 'debug function', I am getting an error message
Previous Message Gustavo Madeira 2008-04-09 19:28:40 user account could not be created