GitHub user ashb added a comment to the discussion: Proposal: supervisor-level 
liveness enforcement for tasks with blocking native calls (was: JVM process 
isolation)

> any native-extension-backed hook (pymongo, paramiko/cryptography-backed SSH, 
> other JNI bridges) has the same class of risk, a native call that hangs 
> without releasing the GIL is invisible to anything running inside that same 
> process.

Those isn't true in general, as most other native extensions are better behaved 
and release the GIL when they aren't running python code - and only require it 
when necessary.

Which isn't to say there aren't other ways of achieving alive-but-deadlocked 
state which is invisible to the supervisor 

GitHub link: 
https://github.com/apache/airflow/discussions/70055#discussioncomment-17706119

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to