-
-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Description
_measure_tick runs by default every 20ms for every distributed.core.Server created, eg every Worker and Scheduler
distributed/distributed/core.py
Lines 348 to 362 in 39c5e88
| def _measure_tick(self): | |
| now = time() | |
| diff = now - self._last_tick | |
| self._last_tick = now | |
| if diff > tick_maximum_delay: | |
| logger.info( | |
| "Event loop was unresponsive in %s for %.2fs. " | |
| "This is often caused by long-running GIL-holding " | |
| "functions or moving large chunks of data. " | |
| "This can cause timeouts and instability.", | |
| type(self).__name__, | |
| diff, | |
| ) | |
| if self.digests is not None: | |
| self.digests["tick-duration"].add(diff) |
this can be a particular problem in tests such as test_adapt_quickly that starts 10 workers and a scheduler and so has 11 of these calls every 20ms
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels