From 8c07735eee32b3f450c7ddec6c3c7379af4b8471 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Mon, 10 Aug 2026 13:42:15 +0900 Subject: [PATCH] system-config: update enable_jit for the new default Ruby JIT (YJIT) is enabled by default since v1.20.0. Also, it is now enabled by RubyVM::YJIT.enable in each worker process instead of the `--jit` command-line option, which no longer exists in the Ruby versions Fluentd requires. Signed-off-by: Shizuo Fujita --- deployment/system-config.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/deployment/system-config.md b/deployment/system-config.md index 8d51a0b5..bd1fd613 100644 --- a/deployment/system-config.md +++ b/deployment/system-config.md @@ -190,13 +190,17 @@ it will be loaded without specifying `@include` directive. If you want to disable this auto-load feature, set `config_include_dir ""` explicitly. -### `enable_jit` (experimental) +### `enable_jit` | type | default | version | | :--- | :--- | :--- | -| bool | false | 1.15.2 | +| bool | true | 1.15.2 | -Enable JIT for worker processes. Internally, this configuration enables Ruby's `--jit` command-line option. +Enable Ruby's JIT \(YJIT\) for worker processes. Since v1.20.0, the default value is changed to `true`. + +JIT increases the memory usage of each worker process. Set `enable_jit false` to restore the previous behavior. + +Note that JIT is not available on Windows, and this parameter has no effect there. ### `enable_input_metrics`