Re: pl/perl error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank <archon(at)forbidden(dot)dough(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pl/perl error
Date: 2006-04-09 22:22:40
Message-ID: 14524.1144621360@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Frank <archon(at)forbidden(dot)dough(dot)net> writes:
> I have a perl script running as a daemon. It's using DBD::Pg (1.43) to
> connect to my Postgres server (8.0.7) running on the same box and talking
> over a socket. When I start the server, it runs fine for about a day, and
> then at some point I start getting this error repeatedly:

> DBD::Pg::db do failed: server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.

Do you see any complaint in the postmaster log when this happens? If so
what?

I'd personally wonder about a memory leak or something like that in your
trigger functions.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank 2006-04-09 22:58:20 Re: pl/perl error
Previous Message Douglas McNaught 2006-04-09 22:11:37 Re: pl/perl error