Skip to content

Collision in multi-process mode #191

@aimestereo

Description

@aimestereo

Hello @brian-brazil.

In our project we use celery. And we experience a bug when all workers write to one file created by the master process. It's happening because metrics are initialized before fork and an open file is inherited by the child process. _MmapedValue in the child is created correctly, with new pid, so the child doesn't know that files belong to another process.


PR: #192

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions