Hi,
I've tried several ways to send a shutdown to my screen sessions running on
my grid server, with mixed results.

screen -S $sessname -X eval "stuff shutdown^M"

Works best for me, (I also have a regions-service running), I check if the
region went down with the above, if not:

screen -S $sessname -r -m  -X quit

And a final sweep kills the process if it still hangs after that (which
happened a lot around r7000 or so).

Once the region is down, rinse and repeat for the UGAIMs... :-)

My scripting is really horrible, since it calls other scripts and nothing is
really defined/documented, but it works for me. I hope these bits help a
little?

Rhian

On Thu, Jan 15, 2009 at 8:51 PM, Ai Austin <[email protected]>wrote:

> I have just started to get edgy about the way I am shutting down our
> UGAIM and opensim.exe region servers.... I am using the script from
>
>      http://opensimulator.org/wiki/Automating_Tasks
>
> But this just task kills the process... so no shutdown command is
> given to Opensim.exe or the UGAIM servers... and they are I assume
> just "crashed"... that might not be nice, even though I check if any
> users are logged on and make sure they are not before I shutdown.  I
> don't want to corrupt the database and I want to ensure any
> housekeeping necessary on server shutdown is properly done.
>
> Is the Wiki recommended script for automating shut down task safe?
>
> P.S. this page might be a good one to post a script for clearing out
> the asset data base server of unreachable assets in certain service
> situations?
>
> _______________________________________________
> Opensim-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to