pub_test_launch — Attempts to launch pub_test_runner processes on every server.
NOTE: This command is only intended to be run on the ISG account.
This program loops through all supported servers as specified in the server_list
file, launching a number of pub_test_runner processes on each of them. Each server gets one pub_test_runner process left on it for each CPU in the server, making it more likely that the faster servers will respond to any given public test request from a student.
On each server, the launch program ensures that the correct number of runners with the correct ids are present, and only refreshes any that are missing. This makes it safe to launch regularly for maintenance purposes, to ensure that any runners that mysteriously die are re-launched, and to ensure that if a server is added to server_list
it will have runners on it in reasonably short amount of time. The intention is for this to be run hourly in a cron job.