#914: CFG_BIBSCHED_MAX_NUMBER_CONCURRENT_TASKS bug
----------------------+-----------------
 Reporter:  skaplun   |      Owner:
     Type:  defect    |     Status:  new
 Priority:  critical  |  Milestone:
Component:  BibSched  |    Version:
 Keywords:            |
----------------------+-----------------
 When CFG_BIBSCHED_MAX_NUMBER_CONCURRENT_TASKS > 1, in some rare
 circumstances it looks like there is executed by bibsched twice at the
 same time.

 This should be fixed.

 {{{
 2012-02-25 00:22:33 --> Task #807267 started.
 2012-02-25 00:22:33 --> ATLAS Publication Drafts / webpage cache update
 2012-02-25 00:22:35 --> Task #807267 started.
 2012-02-25 00:22:35 --> ATLAS Publication Drafts / webpage cache update
 2012-02-25 00:22:36 --> Task #807267 finished. [DONE]
 2012-02-25 00:22:37 --> Task #807267 finished. [DONE]
 2012-02-25 00:22:37 --> Unexpected error occurred: [Errno 2] No such file
 or directory: '/opt/cdsweb/var/run/bibsched_task_807267.pid'.
 2012-02-25 00:22:37 --> Traceback is:
 2012-02-25 00:22:37 -->   File "/usr/lib64/python2.4/site-
 packages/invenio/bibtask.py", line 371, in task_init
 2012-02-25 00:22:37 -->     ret = _task_run(task_run_fnc)
 2012-02-25 00:22:37 -->   File "/usr/lib64/python2.4/site-
 packages/invenio/bibtask.py", line 814, in _task_run
 2012-02-25 00:22:37 -->     os.remove(pidfile_name)
 2012-02-25 00:22:37 --> Exiting.
 }}}

-- 
Ticket URL: <http://invenio-software.org/ticket/914>
Invenio <http://invenio-software.org>

Reply via email to