DIRAC
DIRAC copied to clipboard
ThreadScheduler task is blocking for the others
I just had the case of a periodic task not being executed anymore. This is because the previous task was pending for ever. It would be nice if we could avoid such a lock.
Does it have any relation with the ThreadPool? Did you try DIRAC_USE_NEWTHREADPOOL=yes (v7r1) ?
I checked, the variable was not set. In any case, it is not related to the threadPool. At least from a quick glance. I did not take time to investigate in depth. But the impression I had is that this task scheduler is not using a threadpool. It is just one extra thread, doing periodic tasks