WebSocket - Overview of Parameters
You can use the following WebSocket profile parameters to configure how the application server handles communication with the WebSocket protocol.
Normally you do not have to change the default settings at all.
rdisp/max_websocket_connections
This profile parameter specifies the size of the WebSocket table. In this table, the Dispatcher manages an entry for each WebSocket connection. The maximum number of WebSocket connections is configured with this profile parameter. Since a WebSocket can have up to two entries in the central logon table, the parameter value should be significantly smaller than the size of the logon table.
If WebSockets are registered on an ABAP message channel (AMC), the maximum size of the AMC recipient table can also be a restricting factor. This can be configured with profile parameter rdisp/max_amc_receiver_entries.
| Default value |
$(rdisp/tm_max_no) / 2 |
| Unit | Integer |
| Dynamic | No |
rdisp/websocket/deletion_timeout
Maximum time that a WebSocket can have status Separating. If the data buffer is empty and the time has been exceeded, the WebSocket is deleted from the application server.
Sometimes, a WebSocket can still be in use when a close has already been received. For this reason the parameter value should not be set too small (less than one hour).
Profile parameter value 0 means that no check is made. The value can be specified with or without a time unit. With no specified time unit, seconds are used. Otherwise, M for minutes, H for hours, or D for days can be used. You can leave spaces between value and unit.
| Default value | 0 (no timeout) |
| Unit | Integer |
| Dynamic | Yes |
rdisp/websocket/open_message_limit
Maximum number of buffered messages per WebSocket. If WebSocket messages are received faster than the application server can process them, they are stored in a data buffer. The message is discarded if the size of the data buffer exceeds the value of this profile parameter when a WebSocket message is received.
The limit specified by this profile parameter protects against overloading the application server. It should not be fully used up by the applications.
| Default value | 500 |
| Unit | Integer |
| Dynamic | Yes |