Use the search feature to view Kepware's repository of more than 500 Knowledge Base articles. Narrow your results or type your query into the search field below.

Alternatively, if you are unable to find a solution, we have an additional resource - our PTC eSupport Portal . If you are prompted to log into the eSupport Portal, you can use your My Kepware credentials. Need a My Kepware account? Create one here .

Search Solution Results By:
View All Solutions

Kepware Knowledge Base: Solution

KEPServerEX: What Is the Maximum Number of Client Connections?

Last Update: 11/7/2018

In most cases, the server can support as many client connections as needed; however, the number of process threads for a running application process is limited.

  • Windows XP and older operating systems limit the number of threads per process to 2024.
  • Windows 2003 and higher operating systems limit the number of threads per process based on the resources that are available.

In OPC, each client connection consumes a single thread; each OPC group that is added by an OPC client connection consumes two threads in the server. One additional thread is usually needed per channel for device communications and other purposes. As a result, the maximum number of connections can vary from project to project. In some cases, a project that is moved from an older XP operating system to a new operating system may support fewer connections than expected.

Note: When the thread resource limit is met, attempts to add groups and items will fail with error code 0x8007000E ("E_OutofMemory").

Related Products