We are in the process of migrating the Spacial Wiki content to our new Help Center at spacial.com.
Please visit the Help Center for latest Tips and Tricks, Documentation and Troubleshooting.

SOS Optimization

From SpacialAudio

(Difference between revisions)
Jump to: navigation, search
Current revision (16:26, 8 April 2009) (view source)
Line 76: Line 76:
  echo Shutdown avadaptor
  echo Shutdown avadaptor
  taskkill /F /im AvAdaptor.exe
  taskkill /F /im AvAdaptor.exe

Current revision

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.


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:


@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 -n 1 -w 30000 >NUL

echo Starting the FireBird server
net start FireBirdServerDefaultInstance

echo Starting SOS in FBSS mode

echo Waiting for 5 seconds...
PING -n 1 -w 5000 >NUL

echo Starting SOS helper applications
CALL sos_utils.bat


@echo off

echo Waiting 30 to Start SOS checker
PING -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 -n 1 -w 30000 >NUL
START AvAdaptor.exe


@echo off

echo Shutdown the Utilities First
CALL sos_utils_shutdown.bat

echo This will safely shut down SOS if it is running

echo Waiting for 10 seconds for graceful shutdown of SOS...
PING -n 1 -w 10000 >NUL

echo Forcefully kill any processes that did not want to gracefully shut down


@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


@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

Scheduled Tasks in Windows
Scheduled Tasks in Windows

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:


  • 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


  • 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 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.

Personal tools