Name

pub_test_launch — Attempts to launch pub_test_runner processes on every server.

Synopsis

pub_test_launch

Description

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.

Topic revision: r1 - 2016-01-11 - YiLee
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback