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

Production system: allow CPU profiling #34

Open
ymartin59 opened this issue Jun 9, 2019 · 0 comments
Open

Production system: allow CPU profiling #34

ymartin59 opened this issue Jun 9, 2019 · 0 comments
Assignees

Comments

@ymartin59
Copy link
Collaborator

Hello
Every few months, spkrepo no longer answers to requests - nginx replies 502, and it looks like a service restart is required.
I am not sure if it is related but CPU is almost 60% all day long.

I would like to profile CPU usage in production but was unable to use any of "process attach" tool like pyflame or py-spy.

I am interested in a kernel update (current is 2.6.32) on that Ubuntu system version - to gain access to "perf" and probably have pyflame working too.
That kernel update is also probably a required to get docker running too.

When spkrepo runs properly in docker, we may plan a full system update/replacement - we will discuss later about it.

May you please plan such a kernel update on productive server?
Thank you in advance for your help

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

No branches or pull requests

2 participants