Note that this Wiki is a work in progress, items may not be updated or may disappear entirely as the pages are updated.
SOS Optimization
From SpacialAudio
In order to keep SOS at its peak, the computer and SOS will need to power cycle (turn off). Even with SOS' ability to resync every 24 hours, Windows Virtual Memory will still benefit from weekly reboots and that in turn will benefit SOS.
Every install that the support team from SpacialAudio does with SOS will follow these steps below.
Contents |
Introduction: What Can We Do to Optimize SOS
First, the best way to keep your SOS fresh is to only install one (1) copy of SOS per computer; multiple copies could conflict since SOS does a lot when it comes to time-shifting and streaming.
Second, make sure your system falls within our minimum specs; 1.5ghz processor, 1gb of RAM, Windows 2000 to Vista.
Finally, the best way we have found to keep SOS fresh is to initiate a restart of SOS every few days and a full restart of the machine every week, typically during non-peak hours. For example:
- Restart of SOS and All Related Utilities: Wednesday & Friday at 2:00am
- Restart of Computer: Monday at 2:00am
Running Batch Files
With any new install (v4.7.1 or later) there will be a list of batch files you will need:
SOS_AUTOSTART.BAT
@echo off echo *--------------------------------------* echo ! SOS Auto-start script ! echo ! (c) Spacial Audio Solutions, LLC ! echo ! http://www.spacialaudio.com ! echo *--------------------------------------* echo Wait a few seconds for things to settle down after the reboot echo Waiting for 30 seconds... PING 1.1.1.1 -n 1 -w 30000 >NUL echo Starting the FireBird server net start FireBirdServerDefaultInstance echo Starting SOS in FBSS mode START SOS.exe /FBSS echo Waiting for 5 seconds... PING 1.1.1.1 -n 1 -w 5000 >NUL echo Starting SOS helper applications CALL sos_utils.bat
SOS_UTILS.BAT
@echo off echo Waiting 30 to Start SOS checker PING 1.1.1.1 -n 1 -w 15000 >NUL START SOSChecker.exe
- If you are using AudioVault as your automation system and use the AvAdaptor.exe program then you will need to add this into your bat:
echo waiting 15 seconds to start avadaptor PING 1.1.1.1 -n 1 -w 30000 >NUL START AvAdaptor.exe
SOS_SHUTDOWN.BAT
@echo off echo Shutdown the Utilities First CALL sos_utils_shutdown.bat echo This will safely shut down SOS if it is running START SOS.exe /SHUTDOWN echo Waiting for 10 seconds for graceful shutdown of SOS... PING 1.1.1.1 -n 1 -w 10000 >NUL echo Forcefully kill any processes that did not want to gracefully shut down .\pid\kill.exe
SOS_UTILS_SHUTDOWN.BAT
@echo off echo Shutdown SOS Checker taskkill /F /im SOSChecker.exe
- If you are using AudioVault as your automation system and use the AvAdaptor.exe program then you will need to add this into your bat:
echo Shutdown avadaptor taskkill /F /im AvAdaptor.exe
SAFE_RESTART.BAT
@echo off echo Shutdown SOS and utilities CALL sos_shutdown.bat echo Shutting down the system shutdown.exe -r -t 15 -f
Using Windows' "Scheduled Tasks" to Run BAT Files
To use Scheduled Tasks, go to Control Panel and open "Scheduled Tasks". Once there, click on "Add Scheduled Task".
- For a task that will happen in a specified amount of days in a week, choose "Weekly"
- For a task that will happen after reboot, choose "When I log on"
- Make sure to check the "Run only when I am logged on" checkbox!
The BAT files default in the SOS directory: c:\Program Files\SpacialAudio\SOS\
You will need to have a total of three (3) tasks run on your machine:
Required:
- SAFE_RESTART.BAT - "Weekly" at Monday at 2:00AM
- This will shut down SOS, all of its utilities and then start a reboot 15 seconds from that point
Recommended:
- SOS_SHUTDOWN.BAT - "Weekly" on Wednesday & Friday at 2:00AM
- This will shut down SOS and its utilities
- SOS_AUTOSTART.BAT - "Weekly" on Wednesday & Friday at 2:02AM
- This will start up SOS and all the utilities
More information on how to use Scheduled Tasks, please visit Microsoft's KB article at: http://support.microsoft.com/kb/308569
Download
Download this file from our Wiki: http://support.spacialaudio.com/wiki/Image:Sos_bats.zip
Note: The *.bat files are already included with the latest SOS install.

