Project

General

Profile

Actions

Bug #6815

closed

Availability of schedulers is checked badly

Added by Evgeny Novikov over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Scheduling
Target version:
-
Start date:
02/04/2016
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
51f3c06

Description

At the moment controllers check for schedulers availability by checking that command:

ps -aux | grep -F SCHEDULER_BINARY_NAME -c

output more than 2 lines. This is buggy and one of solutions suggested here should be used instead.


Related issues 1 (1 open0 closed)

Related to Klever - Feature #6541: Scheduler exclusive execution check New01/28/2016

Actions
Actions #1

Updated by Ilja Zakharov over 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Ilja Zakharov

I used 'ps -aux | grep [n]ative-scheduler' soulution to support running scheduler from PyCharm. Approach with pgrep matches only process name which is "Python3.4" currently and it cannot be changed in case of PyCharm. And approach "pgrep -f" still matches itself as original one.

Fixed in branch "scheduler-controller-check" and ready for merge to "master".

Actions #2

Updated by Evgeny Novikov over 8 years ago

It is of course better than it was before (at least schedulers shouldn't be disconnected unexpectedly) but nevertheless it is still bad since, for instance, if I open file "*native-scheduler*" in some editor the controller will think that Native Scheduler is operating. Since the latter is not so awful as suddenly disconnected schedulers I would like to implement proper checks in #6541.

Actions #3

Updated by Evgeny Novikov over 8 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 51f3c06

Merged to master in 51f3c06.

Actions

Also available in: Atom PDF