How can I deep debug a 100% CPU load

Hi, I have a small hap lite to manage a 3 router in Caps, usually the average load is 2%, ram is fine, FW 6.48.3.
From the log I see caps disconnection, just after the login via Winbox, maybe the problem occours when the system is trying to summarize the status of ther router and send it to me. But I experienced a 100% load for about 1 minute, which is a sign something is wrong here. How can I debug more the problem? How can I know which process exactly overload the cpu?
Thanks
0e4a393b-110d-4841-b753-46dc429d226a.jpg

The solution is simple:
The problem is the hAP lite (SMIPS)

Use another router to manage the hAP lite, not the hAP lite to manage 3 routers…
If all the routers are hAP lite, do not use CAPsMAN

/tool profile
Will be your best help with this.

By chance do you have capsman forwarding enabled? This is a low end CPU and it would be no surprise to see such an issue there.

but why? It has no sense.. if the average load is little, it sould work fine. THere is a simple problem in FW, something is happening wrong in some circustamces. The caps working fine providing roaming and full bandwith with low cpu level.
This is the log:
Clipboard01.jpg

Thanks, this what was I’m looking now, I’ll check it when it will happen again

Hi is a very very old MSG…
but a little hint work sometimes:

disable “CPU FLOW CONTROL” at the switchconfig
so you may have a lower CPU load

Greets

Not a good idea.
[…] such a port is required for management traffic and for routing features.
By default the switch chip ensures that this special CPU port is not congested
and sends out Pause Frames when link capacity is exceeded to make sure the port is not oversaturated,
this feature is called CPU Flow Control. Without this feature packets that might be crucial for routing or management purposes might get dropped.
[…]
it is possible to disable the CPU Flow Control feature on some devices that are using one of the follow switch chips:
Atheros8227, QCA8337, Atheros8327, Atheros7240 or Atheros8316.
Other switch chips have this feature enabled by default and cannot be changed.[…]