Re: Backend dies for DBI - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: Backend dies for DBI
Date
Msg-id 13541.984195572@sss.pgh.pa.us
Whole thread Raw
In response to Re: Backend dies for DBI  (Bjorn Halvor Solberg <bhso@pacbell.net>)
List pgsql-interfaces
Bjorn Halvor Solberg <bhso@pacbell.net> writes:
> What confuses me is that it ran fine for a couple of months.  Then, after
> the power outage, it crashes every few hours, resulting in having to
> restart the web server to regain the DB handle.

>> Hmm.  Possibly some corrupted data in the database now?

> That thought did come to mind, but manual queries go through just fine.
> I did vacuum the database, but that didn't help.

This is reaching a little bit, but something to think about: maybe you
are not running exactly the same software or configuration as you were
before the power outage.  A well known gotcha on machines that stay up
for a long time between boots is that you may have changed something
without realizing that the effects would disappear at the next boot
(or alternatively, only come into effect at the next boot).  For
example, starting a daemon without remembering to arrange for the boot
scripts to start it, or changing a daemon's config file and neglecting
to test the results, or installing a new version of some shlib that's
used by a daemon.  When a reboot does finally happen, you've forgotten
that there was anything to worry about, and so the sudden change in
behavior is mysterious.

I realize this doesn't give anything concrete to go on, but maybe it
will give you an idea of where to look.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Bjorn Halvor Solberg
Date:
Subject: Re: Backend dies for DBI
Next
From: "J. T. Vermeulen"
Date:
Subject: Re: libpq++