ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

IMAT: investigate high client CPU #8278

Closed FreddieAkeroyd closed 3 months ago

FreddieAkeroyd commented 7 months ago

According to nagios, on NDXIMAT

CRITICAL (Sample Period 601 sec) - [Triggered by _AvgCPU>85] - Found 1 Instance(s) of "ibex-client" running. CPU_ibex-client(PID=24208)=180.7% 

which means ibex-client.exe is using nearly 2 cores worth of cpu

It should be possible to connect via the ssh java debugging port to investigate

acceptance criteria

Chsudeepta commented 7 months ago

image It is clearly the heaviest process as per the snap of the task manager - with very high page fault numbers

Tom-Willemsen commented 4 months ago

Elevated CPU use is currently being seen on ZOOM - investigated non-invasively via VisualVM sampler.


Tom-Willemsen commented 4 months ago

PRs:

To review:

Somewhat fiddly. Check that my explanations above make sense. If you want evidence that this actually fixes the problem as currently being seen on ZOOM, follow the following instructions. Note that you will need to leak a lot (~250k?) of objects on a dev machine to see the constant CPU load as per ZOOM, so I recommend following these instructions to see the problem "at source" instead, and check that you think my interpretation of the problem makes sense:

On master (locally)

Connect VisualVM to a client showing healthy CPU use on nagios (e.g. SANS2D)

Connect VisualVM to a client showing unhealthy CPU use on nagios (e.g. ZOOM)

On this ticket branch (locally)

Code review