MAXBUFFERSIZE

The MAXBUFFERSIZE parameter sets the maximum size for the Remote Source's socket send and receive buffers.

Description

High-volume or high-bandwidth connections may benefit from increasing the maximum socket send and receive buffers. The maximum sizes for socket buffers are limited by the values in the /proc/sys/net/core/rmem_max and /proc/sys/net/core/wmem_max files. If the desired maximum buffer size exceeds that of the /proc files, then the values in the /proc files will also need to be updated.

The kernel parameters can be updated to 1 MiB via sysctl:
sudo sysctl -w net.core.rmem_max=1048576
sudo sysctl -w net.core.wmem_max=1048576

The target server’s maximum socket buffer size will also need to be adjusted accordingly.

Navigate to the target server instance’s conf directory and modify comms.ini. We can set the maximum socket buffer size to 1 MiB by adding the following: TCP_WINDOW_SIZE=1048576

Along with updating the relevant kernel parameters.

Note: Note that updating MAXBUFFERSIZE, TCP_WINDOW_SIZE, and the maximum values in the /proc files will not dynamically update active subscriptions.

Specifications

Use: Global configuration parameter for the Classic data server.

Data type: INT

Default: 1048576

Valid values: 0 – upper limit not applicable