Re: PostgreSQL unexpectedlly closes the connection

From: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>
To: João Miguel Ferreira <jmf(at)estg(dot)ipvc(dot)pt>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: PostgreSQL unexpectedlly closes the connection
Date: 2006-08-27 20:14:26
Message-ID: bf54be870608271314o334d9b6eobc3c2daeb67c38c9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Can you please show us your db server logs when this event occurs on your
client

Thanks,
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 8/28/06, João Miguel Ferreira <jmf(at)estg(dot)ipvc(dot)pt> wrote:
>
> Hello all,
>
> I'm developing a program (daemon) in Perl. This program colects system
> information and stores in Pg via perl-DBI and perl-DBD-Pg.
>
> The performance is totally great... but once in a while I the server
> closes the connection when I try to do an Insert/Update/Delete...
>
> The Perl-DBI error is +/- something like this "... server closed the
> connection unexpectedlly..."...
>
> Strange enough the same query is executed thousands of times per hour an
> only ocasionally I get this error... my program detects the error and
> reconnects... but I'dd really like to get to the bottom of this...
>
> I've already run my daemon with trace activated but I still can't get any
> additional info as to the reason of the problem...
>
> What reasons make Pg close the connection ?
> How do I begin debbuging this... ?
>
> Thanks
>
> jmf
>
>
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2006-08-27 20:14:58 Re: PostgreSQL unexpectedlly closes the connection
Previous Message barbara figueirido 2006-08-27 20:12:12 Re: phppgadmin not working under v. 8.1