JonasB
Sep 06, 2023Nimbostratus
API consume a lot of CPU
Hello,
Im trying to query the API on all virtual servers for their current connections.
I do this by making a http requst to https://<MGMT_IP>/mgmt/tm/ltm/virtual/~Common~<VS>/stats and get the json value of clientside.curConns.
However, since I have more then 100 virtual servers this take more then 1 minutes every time.
And while I do that I see that the control plane CPU goes from ~10% to 60-80%.
Is this a common problem? Is there a better why to do it?