Large number of threads under unicorn
问题 I am in the process of debugging some Posgtres connection leaks in our application. Few days back we suddenly crossed 100 connections when we should not be - coz we just have 8 unicorn workers and a sidekiq process (25 threads). I was looking at htop today and saw that a ton of threads were being spawned from my unicorn workers. Eg: Am I reading this correctly? This should not be happening right? If these are threads being spawned, any idea how to debug this? Thanks! Btw, my other problem -