Skip to content

Keep o2-sim workers alive until the driver terminates them - #16048

Open
sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:o2sim-worker-wait-for-driver
Open

sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:o2sim-worker-wait-for-driver

Conversation

@sawenzel

@sawenzel sawenzel commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

This is fixing a bug where o2-sim hangs when the hit merger starts after the sim workers have finished. A worker exited 10 s after its last chunk, and the hits still queued for the merger were lost with it, so the merger waited forever for data. Workers now stay alive until the o2-sim driver terminates them, or until their parent is gone. This was seen with --noGeant event generation in anchored MC, where the worker finishes within seconds.

This is fixing a bug where o2-sim hangs when the hit merger starts after the
sim workers have finished. A worker exited 10 s after its last chunk, and the
hits still queued for the merger were lost with it, so the merger waited
forever for data. Workers now stay alive until the o2-sim driver terminates
them, or until their parent is gone. This was seen with `--noGeant` event
generation in anchored MC, where the worker finishes within seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sawenzel
sawenzel requested a review from a team as a code owner November 4, 2026 16:51

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant