The title says it all. I am issuing REST commands via www-ssl.
Whenever I am using the SSL REST API, such as listing DHCP clients (~1k) or editing a comment on one of them, CPU usage spikes across all 16 cores (around additional 20%) with one or two pinned at 100%. SSL is also using 100% CPU.
Is there a way to resolve this?
I have resolved the issue.
Thanks for sharing the solution, you b–d.
Oh, right, the solution
I made a new certificate with a 1024-bit key. It's more than sufficient, overkill even, for my use case.
Initially the key for the SSL certificate was 4096-bit RSA, which I believed was fine coming from a web hosting perspective.
The API took tens of seconds per operation before. Now it can do tens of operations per second.