This is an automated notification sent by LCG Savannah.
It relates to:
                task #7328, project CDS Invenio

==============================================================================
 LATEST MODIFICATIONS of task #7328:
==============================================================================

Update of task #7328 (project cdsware):

                  Status:                    None => Done                   
        Percent Complete:                      0% => 90%                    

    _______________________________________________________

Follow-up Comment #1:

The proposed solution has been implemented but there are apparently still
some situation when tasks aren't executed in the correct order.

==============================================================================
 OVERVIEW of task #7328:
==============================================================================

URL:
  <http://savannah.cern.ch/task/?7328>

                 Summary: bibsched scheduler to be signaled when tasks
terminate
                 Project: CDS Invenio
            Submitted by: skaplun
            Submitted on: 2008-07-07 09:10
         Should Start On: 2008-07-07 00:00
   Should be Finished on: 2008-07-07 00:00
                Category: BibSched
                Priority: 5 - Normal
                  Status: Done
                 Privacy: Public
        Percent Complete: 90%
             Assigned to: skaplun
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________


Current implementation of bibsched scheduler build every 5 seconds a snapshot
of the current running tasks and take decision whether to run/stop/put to
sleep a task based on this. If the status of at least one task changes
because of bibsched actions, the snapshot is refreshed. At the moment,
though, bibsched can not notice when a task terminates, because task are
launched in background and bibsched does not wait anymore for  their
termination. Hence the snapshot is not refreshed and some tasks happen to run
in the wrong order because of this.

One solution to this problem is that each task that terminate send a UNIX
signal to bibsched, as a hint that the snapshot should be refreshed.



    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: 2008-08-06 11:55              By: Samuele Kaplun <skaplun>
The proposed solution has been implemented but there are apparently still
some situation when tasks aren't executed in the correct order.





    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
2195                                | -SUB-




==============================================================================

This item URL is:
  <http://savannah.cern.ch/task/?7328>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/


Reply via email to