That means that something in your process is leaking a file descriptor.
It will be very helpful if you please suggest some possible scenarios where fd might leak and to identify the process for fd leaking even though socket close was called.
if socket close is called, in iOS side what are the dependencies to make the FD free?
Not intrinsically, but there could be a bug in your code that causes it to leak the file descriptor under specific circumstances.
In 2 different servers, we saw different behavior, while connecting to one server it's normal, not increasing. but it's getting increased in another one. though in both server-client create TLS connection from time to time and every time it closes the socket.
Again, bumping up this limit is not the right way to address your problem. Does this problem reproduce on the simulator? The reason that’s relevant is that the simulator gives you access to more debugging tools (-:
Simulator run is not possible, can you please suggest some way to check from live devices.