lablup / lablup/backend.ai

Reduce potential hanging during manager termination

Open
#3,423 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

![image-20250109-170621.png](image-20250109-170621.png){width=1694 height=730}

We have a safety guard in aiotools to prevent making left-over processes (and we also use the “mixed-mode” in systemd configurations), but still any interruption signal should be gracefully handled in the manager coroutines. Particularly, we need to take extra care for periodic tasks in the scheduler not to defer cancellation for a too long time.

JIRA Issue: BA-488

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.