You say you want to reconnect the driver to a postgres that has been shut
down,,, at this moment, I'm not quite understanding: you can't connect to a
server which is not running.
Ok. I want to say shutdown / start. Sorry.
But, if you mean that you start the server after that and expect aolserver
to be watching for this, it would require aolserver to be polling for the
connection periodically.
I don't believe it would be useful to require aolserver to have to watch for
dropped connections to aolserver; that takes an extra process or thread and
CPU time that should be used for what aolserver's job is.
For us it will be useful. Restart our OpenACS instances waste aprox.
3-4 minutes. Moreover, we are working
with 4 aolservers in cluster. We have to restart all the aolserver
instances.
For all intents and purposes, openacs requires postgres to be up. If you'd
like to shut postgres down, it only makes perfect sense that you should also
shut the openacs instances using it.
Having said all this, would it be possible to add a feature to aolserver
where an admin sends a signal to aolserver which responds by trying to open
database connections?
This will be a good point.
Regards,
Agustin
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.