Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Robrt (1414)

  (email not shown publicly)

robert at perl dot org

Journal of Robrt (1414)

Saturday October 02, 2004
01:55 AM

books is back

[ #21150 ]

Ever since we moved to a new server a few months ago after Iain's untimely passing we've had issues with it staying up.

Dave Rolsky has been kind enough to take over maintenance of the site and get it running on the new box. (It's heavily based on his Alzabo OO mapper, so he was the best choice for the job.) Neither of us could figure out why the site would start throwing errors, with nothing in the PostgreSQL or Apache logs.

Turns out, the PostgreSQL server was restarting nightly, to rotate logs, and do something or other. Shouldn't be a problem, right? Apache::DBI will perform a ping, and reconnect if necessary. Not if we don't call connect() before trying to use the database.


I'll leave figuring out why it doesn't blow up anyway as an excercise to the reader. As a hint, think about how mod_perl works and provides a persistent perl session.

Anyway -- should be stable again. Visit. Buy books. Rate books. Review books. Enjoy.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.