> 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?
regards, tom lane