Sending the https REST API using the curl command causes an unusual increase in CPU load
AnsweredHi
Sending the https REST API to Nx Witness Server using the curl command causes an unusually high CPU load. A single transmission increases the CPU load by about 18%. When run 6 times in a row, the CPU load is close to 100%.
The result is the same whether you use curl that comes pre-installed in Windows 10 or send it from Linux.
When I sent the same REST API from a web browser (chrome), the CPU load did not increase.
The REST API is sent from a different PC than the Nx Server, whether using the curl command or a web browser.
curl uses the following command. The result is the same whether you use basic authentication or digest authentication.
curl -k --basic -u admin:<PASSWORD> "https://<SERVER_ADDRESS>:<PORT>/api/createEvent?caption=test"
curl -k --digest -u admin:<PASSWORD> "https://<SERVER_ADDRESS>:<PORT>/api/createEvent?caption=test"
Is there a way to avoid an increase in CPU load when sending REST APIs over https using curl?
Device : Jetson nano
Version : 4.2.0.32840
-
Hi Daiki Kato,
Please check THIS reply from my colleague regarding a similar issue.
0 -
Hi Norman,
Thank you for your help. It was successfully resolved.0
Please sign in to leave a comment.
Comments
2 comments