Scripts Not Running After Restart
- Koshari Mahana
- Posts: 360
- Joined: Fri Feb 06, 2015 8:14 am
- Has thanked: 280 times
- Been thanked: 503 times
- Contact:
Re: Scripts Not Running After Restart
I went into region debugger to see which were the top scripts and took a screenshot. This doesn't seem like it's too bad at all. I do wish there were AOs that were better but still this doesn't seem that high.
VISIT FOUR WINDS ON THE MARKET
VISIT FOUR WINDS INWORLD: hop://grid.kitely.com:8002/Coopersville/909/907/21
- Ilan Tochner
- Posts: 6534
- Joined: Sun Dec 23, 2012 8:44 am
- Has thanked: 4998 times
- Been thanked: 4474 times
- Contact:
Re: Scripts Not Running After Restart
You have to do this immediately after the world is restarted or you won't see the scripts that may be creating load on region restart. When I visited your world there was at least one that had a Time value of 200.
- Koshari Mahana
- Posts: 360
- Joined: Fri Feb 06, 2015 8:14 am
- Has thanked: 280 times
- Been thanked: 503 times
- Contact:
Re: Scripts Not Running After Restart
Okay, I'll do it the next time the region is empty. Thanks for your help with this.
VISIT FOUR WINDS ON THE MARKET
VISIT FOUR WINDS INWORLD: hop://grid.kitely.com:8002/Coopersville/909/907/21
- Koshari Mahana
- Posts: 360
- Joined: Fri Feb 06, 2015 8:14 am
- Has thanked: 280 times
- Been thanked: 503 times
- Contact:
Re: Scripts Not Running After Restart
I did it 3 different times. All of these were right when the world started up. *The dance balls weren't there until last Sunday so they wouldn't have been what caused it in the past, but maybe one of the others or a combination of them were causing it? It's interesting that a few of the scripts are high everytime but the others seem to vary.
And "timing out" is what causes a script to stop running? With the doors the box that's usually checked "running" is actually unchecked when it happens and I have to click the building and choose "set scripts to running" and it fixes it. This might explain why then that it's arbitrary and only happens once in a while and to different doors and scripts.some of their operations may time out during this high-CPU usage period
VISIT FOUR WINDS ON THE MARKET
VISIT FOUR WINDS INWORLD: hop://grid.kitely.com:8002/Coopersville/909/907/21
- Ilan Tochner
- Posts: 6534
- Joined: Sun Dec 23, 2012 8:44 am
- Has thanked: 4998 times
- Been thanked: 4474 times
- Contact:
Re: Scripts Not Running After Restart
It really depends on what the scripts are trying to do when the world starts and the random order in which they do it. For example, if a script does something that requires accessing an external server and that access is slow then that might delay other scripts that use similar functionality which may cause them to fail to complete even if the network connection to the servers they're trying to access is fast. However, if that slow script happens to be executed after those other scripts have completed doing what they need to do then it won't prevent them from completing.
- These users thanked the author Ilan Tochner for the post (total 3):
- Koshari Mahana • Zed deTremont • Chris Namaste
- Koshari Mahana
- Posts: 360
- Joined: Fri Feb 06, 2015 8:14 am
- Has thanked: 280 times
- Been thanked: 503 times
- Contact:
Re: Scripts Not Running After Restart
Okay, thanks for explaining and yes that explains why it would be so random. I appreciate you helping me get to the bottom of it.
- These users thanked the author Koshari Mahana for the post (total 2):
- Ilan Tochner • Chris Namaste
VISIT FOUR WINDS ON THE MARKET
VISIT FOUR WINDS INWORLD: hop://grid.kitely.com:8002/Coopersville/909/907/21
- Tonia Kara
- Posts: 7
- Joined: Sun May 24, 2015 12:32 pm
- Has thanked: 67 times
- Been thanked: 7 times
Re: Scripts Not Running After Restart
I run a simulator on Osgrid for educational purposes and one thing I noticed was that if I re-started a region from the console many scripts would fail to start. Anyway if I re-started the simulator Xengine would tell me that all the scripts had been started and then I had no further problems. I have no idea as to why this happens as it is all new to me.
- John Mela
- Posts: 91
- Joined: Tue Feb 04, 2014 9:50 pm
- Has thanked: 139 times
- Been thanked: 127 times
- Contact:
Re: Scripts Not Running After Restart
Hi Tonia. Could you clarify this please? How exactly are you restarting the region in these two cases? I'm confused.Tonia Kara wrote: ↑Sun Jun 02, 2019 1:00 pmif I re-started a region from the console many scripts would fail to start. Anyway if I re-started the simulator Xengine would tell me that all the scripts had been started and then I had no further problems.
- Tonia Kara
- Posts: 7
- Joined: Sun May 24, 2015 12:32 pm
- Has thanked: 67 times
- Been thanked: 7 times
Re: Scripts Not Running After Restart
Hi John, Osgrid is an open grid and people run their own simulators which connect to the grid. You have access to the Open Simulator Server console. You can re-start regions and you can shut the simulator down and re-start the simulator. In Kitely we don't have access to the Open Simulator console.
- John Mela
- Posts: 91
- Joined: Tue Feb 04, 2014 9:50 pm
- Has thanked: 139 times
- Been thanked: 127 times
- Contact:
Re: Scripts Not Running After Restart
Thanks, Tonia. I've run OSGrid regions myself, and other grids too, so I'm familiar with the OpenSim.exe console.
What I don't understand is the difference between the two scenarios you describe here:
What I don't understand is the difference between the two scenarios you describe here:
if I re-started a region from the console many scripts would fail to start. Anyway if I re-started the simulator Xengine would tell me that all the scripts had been started and then I had no further problems.