When PGM is used to send data,ProgramThe following error is reported.
An operation on a socket cocould not be performed med because the system lacked sufficient buffer space or because a queue was full 224.0.0.26: 11600
At system. net. sockets. Socket. doconnect (endpoint endpointsnapshot, socketaddress)
At system. net. sockets. Socket. Connect (endpoint remoteep)
At pgmsocketnet. pgmsender. Connect () in E: \ code \ FunctionCode-Server \ pgm_test \ pgmsocket \ pgmsender. CS: Line 24
At pgmsender. program. testpgmsender (Object State) in E: \ code \ function code-Server \ pgm_test \ pgmsender \ Program. CS: line 42
A:
I found the problem. By default, the sending cache configured for each pgmsocket component is close to 10 MB, so that the memory consumption for the 128 connections is roughly 1 GB, the socket cache may be 1 GB (the maximum size of the socket cache needs to be confirmed, but it is still unclear). This will support 100 connections. solution: reduce the cache size of each connection to 64 KB. Theoretically, the maximum number of connections is increased by 200 to 20000, and the number of normal programs is sufficient.