From: Bill Moran <wmoran@potentialtech.com>
To: Aln Kapa <alnkapa@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Do not understand why this happens
Date: Thu, 14 Mar 2013 07:42:51 -0400
Message-ID: <20130314074251.62f6efdcb2027f87fe63d997@potentialtech.com> (raw)
In-Reply-To: <CAJqqVEU2dvMO+q=BjpkCnEopT-xiWjY2Pn3XmSN8D=6HVnDh3g@mail.gmail.com>
References: <CAJqqVEU2dvMO+q=BjpkCnEopT-xiWjY2Pn3XmSN8D=6HVnDh3g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
On Thu, 14 Mar 2013 15:24:45 +0400 Aln Kapa <alnkapa@gmail.com> wrote:
>
> I connect to the database using the PGDAC, and then send a NOTIFY to
> myself every minute. In this case, the logs get that.
>
> 2013-03-10 10:34:36 19797 LOG: process 19797 still waiting for
> AccessExclusiveLock on object 0 of class 1262 of database 0 after
> 3000.100 ms
> 2013-03-10 10:34:36 19797 STATEMENT: NOTIFY test105, ''
> 2013-03-10 10:34:37 19797 LOG: process 19797 acquired
> AccessExclusiveLock on object 0 of class 1262 of database 0 after
> 3315.206 ms
> 2013-03-10 10:34:37 19797 STATEMENT: NOTIFY test105, ''
> 2013-03-10 10:34:37 19797 LOG: duration: 3315.322 ms statement:
> NOTIFY test105, ''
> 2013-03-10 14:27:43 19797 LOG: could not receive data from client:
> Connection reset by peer
> 2013-03-10 14:27:43 19797 LOG: unexpected EOF on client connection
>
> Tell me what's the problem?
Are the last two lines your perceived problem? Is the NOTIFY working?
There's really not enough information here to actually understand
what you're asking. Based on the log information, it looks like
a client program issues a notify, then drops the connection. Could
be because in intervening network control device times out the TCP
state, or could be because the client drops the conneciton, or
because the client crashed, or is poorly implementd in that it looses
its TCP socket.
In any event, the 4 hour lag between the NOTIFY and the conneciton drop
during which nothing happens seems to indicate that the two events
are probably not related.
Is any of that helpful? I feel like I don't understand your question
and suspect that you didn't receive an answer to your first post
because most people didn't understand it. If my comments don't
address your question, perhaps try describing it differently.
--
Bill Moran <wmoran@potentialtech.com>
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: wmoran@potentialtech.com, alnkapa@gmail.com
Subject: Re: Do not understand why this happens
In-Reply-To: <20130314074251.62f6efdcb2027f87fe63d997@potentialtech.com>
References: <CAJqqVEU2dvMO+q=BjpkCnEopT-xiWjY2Pn3XmSN8D=6HVnDh3g@mail.gmail.com> <20130314074251.62f6efdcb2027f87fe63d997@potentialtech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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