Skip to content

Update /deployment/docker #370

Description

@tsprhdm

https://questdb.com/docs/deployment/docker/
https://questdb.com/docs/getting-started/capacity-planning/

should contain some info on how to correctly set /etc/docker/daemon,json.

I got the the fs.file-max limit is too low [current=524288, recommended=1048576] message, although ulimits were correct on the host.

creating /et/docker/daemons.json

 {"default-ulimits": {
    "nofile": {
      "Name": "nofile",
      "Hard": 1048576,
      "Soft": 8096
    },
    "nproc": {
      "Name": "nproc", 
      "Hard": 500,
      "Soft": 500
    }
  }
}

and restarting docker fixed the problem by raising the ulimit in the container. nproc values and soft limit just fell from the sky ;-) your mileage my vary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions