title: Nginx high CPU usage with custom module nginx-module-vts
body: <p>Maybe someone faced the problem of high CPU load on nginx with nginx-module-vts(<a href="https://github.com/vozlt/nginx-module-vts" rel="nofollow noreferrer">https://github.com/vozlt/nginx-module-vts</a>)? I observe a situation when, upon reaching a certain value of the load of requests per second, wave-like loads on the CPU occur up to 100 percent, and at this time the performance of the web server decreases. When I run nginx without a module, everything works stably and the server holds many more requests.
  I am using the latest version of module and nginx/1.18.0. In my case it is 80k/s with 2 processors (Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20 GHz).
  ), 32 GB of RAM leads to high CPU usage. Without the module, it's 150k+/s and I see a performance margin.
  Perhaps someone has experience with a similar situation and have tips on optimizing or avoiding this behavior?</p>