spkrepo icon indicating copy to clipboard operation
spkrepo copied to clipboard

Production system: allow CPU profiling

Open ymartin59 opened this issue 5 years ago • 0 comments

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

ymartin59 avatar Jun 09 '19 06:06 ymartin59