What is the practical / hard limit on socket connections per server

后端 未结 2 1277
死守一世寂寞
死守一世寂寞 2021-01-14 19:14

I have a number of client devices that open socket connection exposed by a service running on a Windows 2008 R2 server. I\'m wondering if what is hard limit on the number o

2条回答
  •  清酒与你
    2021-01-14 20:00

    According to this article, one hard limit is (was) 16,777,214. The practical limit depends on your application also: for example, if you create a thread per connection, then the practical limit comes from the limitation in the number of threads more than from the network stack. There is also a limit on the number of handles any process may have, and so on.

提交回复
热议问题