Prateek mishra {pmis}
unread,May 22, 2024, 4:40:26 AMMay 22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty-en
Hi everyone ,
I'm using OpenResty, an open-source web server, on Ubuntu Linux. Currently, I'm utilizing Redis to store SSL certificates for all verified domains, totaling around 14,000 certificates. However, over the past few days, I've been encountering CPU spikes in production. Randomly, a large number of openssl genrsa -out /tmp/dehydrated 4096 commands spawn and consume 100% of the CPU for several minutes. This causes my web server to crash, and I'm struggling to understand why.
Despite having set up auto-renewal checks in my NGINX configuration with a check interval of 86400 seconds, this issue persists. Each SSL certificate stored in Redis occupies approximately 12 KB of space.
I'm seeking guidance on why these CPU spikes are occurring and how to address the problem.
Any insights or assistance would be greatly appreciated.
Thank you!