Home > Software engineering >  Libevent great concurrency problems
Libevent great concurrency problems

Time:09-23

Everybody is good, recently in libevent (iocp) development server, an event_base connection monitoring, an event_base fd of the accept IO, the question now is when there are about 20000 or so long connection at the time of sending and receiving data (data is very small, only a few bytes), and restart the client to connect can be slow, the prompt "because the connected party after a period of time there is no right answer or connection host don't respond, open the connection attempt failed", and the server does not accept connections, everybody to help to analyze, thank you,
Server for win2008 r2, 16 gb of memory, 32 nuclear CPU,

CodePudding user response:

To see if the socket system is full, the operating system is limited, such as the memory consumption, etc

CodePudding user response:

Win2008r no restrictions on the socket, socket must not full
  • Related