Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Can you please show us your db server logs when this event occurs on your

Shoaib Mir
EnterpriseDB (

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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group