IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2006, 12:54:20 AM (20 years ago)
Author:
eugene
Message:

HUNG jobs goto PENDING, not BUSY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/CheckBusyJob.c

    r8424 r10651  
    3838      host[0].job = NULL;
    3939      PutHost (host, PCONTROL_HOST_DOWN, STACK_BOTTOM);
    40       PutJobSetState (job, PCONTROL_JOB_BUSY, STACK_BOTTOM, PCONTROL_JOB_HUNG);
     40      PutJobSetState (job, PCONTROL_JOB_PENDING, STACK_BOTTOM, PCONTROL_JOB_HUNG);
    4141      FreeIOBuffer (&buffer);
    4242      return (TRUE);
     
    7979  sscanf (p, "%*s %d", &job[0].stderr_size);
    8080
     81  if (job[0].stdout_size > 100000) abort();
     82  if (job[0].stderr_size > 100000) abort();
     83
    8184  // job has exited : move to DONE stack
    8285  // the host is still BUSY until job output is gathered (int CheckDoneJob)
Note: See TracChangeset for help on using the changeset viewer.