vovwxd Process Loop
The vovwxd daemon performs the following steps in its main loop.
- Reload config.tcl or vov*.tcl files if they've been modified.
- Call the OnConfigLoaded Tcl procedure.
-
Process existing launcher jobs.
Option Description If a job is VALID Create a tasker object. Calls ParseLauncherOutput Tcl procedure. If a job is FAILED Report the error (vovnc will check if the same error occurred a 2nd time). Calls OnLaunchError Tcl procedure. If a job is RUNNING Report a warning if the age is >= 30s For all other options Delete the job. - Delete the LJO (launcher job output) file from the SWD/vovwxd/launchers directory.
-
Obtain list of all taskers and buckets along with their
metadata (job counts, users, tasker states, etc.).
-
Decide how many new vovtasker are needed for each bucket
based on existing vovtasker count and limits config
parameter.
- Create new launcher jobs.
-
Check for the vovtaskers that are not connected.
Option Description If the vovtasker was sick for more than CONFIG(sick,older) seconds Kill it If the vovtasker has never connected Check the wxagent job status. Calls the GetStatusOfJobList Tcl procedure. - If the job is queued or running, no action (waiting on a hardware resource).
- If the job has failed to start, delete the vovtasker object.
- The wxagent job can be deleted in the base queue, delete the vovtasker object
- The base queue may not be accessible, delete the vovtasker object.
- Start a new log cleaner thread based on CONFIG(launchers,checkfreq).