Skip to content

Investigate whether pm can block #21

Description

@xaprb

One of our servers (no details can be given here in public) experienced some swapping and started to get into trouble. While looking at it, I did some curl calls to the pm port's /procs/ endpoint. These blocked for several minutes. I am not sure that anything is wrong with the code; this could have just been due to the swapping negatively affecting the process as a whole. But it might be a good idea to make some benchmark tests, which work like this:

  • add some large N of processes to the pm, such as 10000
  • benchmark how long it takes to add a new process with Start()
  • benchmark how long it takes to remove with Done() and update with Status()

Activity

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

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