Bug #6815
closed
Availability of schedulers is checked badly
Added by Evgeny Novikov almost 9 years ago.
Updated almost 9 years ago.
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 open — 0 closed)
- 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".
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.
- Status changed from Resolved to Closed
- Published in build set to 51f3c06
Also available in: Atom
PDF