Skip to content

Value of io_workers out of range #41

@jameeters

Description

@jameeters

This link:
https://api.pgconfig.org/v1/tuning/get-config?format=conf&&log_format=jsonlog&max_connections=25&pg_version=18&environment_name=DW&total_ram=540GB&cpus=96&drive_type=SSD&arch=x86-64&os_type=linux
gives io_workers = 39.

Using this config, postgres fails to start up, with the following message:

2026-05-15 01:01:05.611 UTC [1] LOG:  39 is outside the valid range for parameter "io_workers" (1 .. 32)
2026-05-15 01:01:05.611 UTC [1] FATAL:  configuration file "/docker-entrypoint-initdb.d/postgresql.conf" contains errors

This limit isn't mentioned in the PG docs (https://www.postgresql.org/docs/18/runtime-config-resource.html#GUC-IO-WORKERS), but it is shown in pg_settings, so I think this is not unique to my setup.

If I've left out anything that would be helpful, please let me know. Many thanks for your work on this tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions