I am getting multiple threads of the same process in CLOSE_WAIT because of which i am getting ‘too many files open’ error. This is happening when multiple calls to google cloud speech api is made. Have gone through various answers on stackoverflow, but i am unable to figure out the solution. The code I have shared is a trimmed version
Tag: tornado
Tornado Python as daemon
I have my code written with tornado and I want to make it work pretty much like apache or nginx, that is It must keep listening to the port even when I close the shell. It must start automatically on system restart I have tried nohup command to make it work even when I close the shell. It works. But