Limiting the Incoming RMI Connections in PTC RV&S 13.3.0.3 and Later Versions
The PTC RV&S Server may become unstable or unresponsive in certain scenarios, such as:
Automatic Client Reconnections: Clients may attempt to reconnect automatically after a brief network outage or a quick restart.
Simultaneous Connections: Multiple users trying to connect to the same server at once leading to a surge in connection requests.
To overcome this problem, starting release PTC RV&S 13.3.0.3, you can limit the rate of incoming RMI connections. The rate of incoming RMI connections can be controlled from the main server, proxy server, or the configuration management server using the mksis.incomingRMIconnections.rate property. This property helps in streamlining the incoming RMI connection requests thereby maintaining server responsiveness and stability. For more information, see Updated Properties for PTC RV&S 13.3.0.3 and Later Versions.
Considerations when using the rate limiting property
Consider the following when using the mksis.incomingRMIconnections.rate property:
The policy is applicable only during the user authentication process occurring over the RMI.
This policy aims to prevent memory and CPU spikes on the server side when many users attempt to connect to the server using the PTC RV&S Client.
The server calculates the per-second connection rate based on the specified per-minute rate.
If the authentication requests sent by the clients exceed the per-second rate calculated by the server, those connections are delayed to maintain the specified connection rate.
Setting the value too high may lead to increased memory and CPU consumption on the server side. Conversely, setting the value too low may result in user connection requests timing out.
Was this helpful?