PGM send form size

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.