We will track all inactive connections in a doubly-linked list so that if open(), socket(), accept4(), etc fail with ENFILE or EMFILE, we will close 1 or more inactive connections and try again. We will also make sure that connections idle for too long are terminated to reduce resources pressure.
We will track all inactive connections in a doubly-linked list so that if open(), socket(), accept4(), etc fail with ENFILE or EMFILE, we will close 1 or more inactive connections and try again. We will also make sure that connections idle for too long are terminated to reduce resources pressure.