Skip to content

Production system: allow CPU profiling #34

Open
@ymartin59

Description

@ymartin59

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

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions