Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate whether pm can block #21

Open
xaprb opened this issue Mar 3, 2014 · 0 comments
Open

Investigate whether pm can block #21

xaprb opened this issue Mar 3, 2014 · 0 comments

Comments

@xaprb
Copy link
Contributor

xaprb commented Mar 3, 2014

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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant