Threads

Sets the number of helper threads that pull data off the network.

This parameter applies to imptcp: Plain TCP Syslog.

Name:

Threads

Scope:

module

Type:

integer

Default:

module=2

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

Number of helper worker threads to process incoming messages. These threads are utilized to pull data off the network. On a busy system, additional helper threads (but not more than there are CPUs/Cores) can help improving performance. The default value is two, which means there is a default thread count of three (the main input thread plus two helpers). The maximum number of worker threads is bound only by system resources (CPU, memory).

Module usage

module(load="imptcp" threads="...")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $InputPTCPServerHelperThreads — maps to Threads (status: legacy)

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–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.