# MaxFrameSize

Sets the maximum frame size when using octet counted mode.

This parameter applies to imptcp: Plain TCP Syslog.

Name:

  MaxFrameSize

Scope:

  input

Type:

  integer

Default:

  input=200000

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

When in octet counted mode, the frame size is given at the beginning of the message. With this parameter the max size this frame can have is specified and when the frame gets too large the mode is switched to octet stuffing. The max value this parameter can have was specified because otherwise the integer could become negative and this would result in a Segmentation Fault. (Max Value: 200000000)

## Input usage

    input(type="imptcp" maxFrameSize="...")

## See also

See also imptcp: Plain TCP Syslog.

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.