-
Story
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
False
-
-
False
-
rhos-ops-platform-services-pidone
-
-
-
Important
Goal: Audit default logging setup: ensure any QueueHandler/QueueListener pair is re-initialized in child processes or guarded behind spawn context, eliminating the lock-held queue scenario from the blog.
Acceptance Criteria:
- Verify listener thread always starts after any fork (documented or via spawn ignoring).
- Functional test: emit 1000 log lines during fork; child processes flush without hanging.
- Update logging section of documentation to mention spawn requirement.
Additional Details:
See https://pythonspeed.com/articles/python-multiprocessing/ and video explanation at https://youtu.be/RIc-Tut95YM?t=185.
- is blocked by
-
OSPRH-17937 [fork vs multiprocessing] 1 - Introduce oslo_service._multiprocessing spawn-safe helpers
-
- Closed
-