compression.zstd.workers

In zstd mode, this enables to configure zstd-internal compression worker threads.

This parameter applies to omfile: File Output Module.

Name:

compression.zstd.workers

Scope:

module

Type:

positive-integer

Default:

module=zlib library default

Required?:

no

Introduced:

8.2208.0

Description

In zstd mode, this enables to configure zstd-internal compression worker threads. This setting has nothing to do with rsyslog workers. The zstd library provides an enhanced worker thread pool which permits multithreaed compression of serial data streams. Rsyslog fully supports this mode for optimal performance.

Please note that for this parameter to have an effect, the zstd library must be compiled with multithreading support. As of this writing (2022), this is not the case for many frequently used distros and distro versions. In this case, you may want to custom install the zstd library with threading enabled. Note that this does not require a rsyslog rebuild.

Module usage

module(load="builtin:omfile" compression.zstd.workers="...")

See also

See also omfile: File Output Module.


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.