1.0.51

Image
Release Webship Workspace 1.0.51

Webship Workspace 1.0.51 is out: a service of the project's own can have its open-files limit set, which RabbitMQ needs on Kubernetes.

  • A service of the project's own can have its open-files limit set (rt_service … --nofile N). Some services size themselves to that limit: RabbitMQ 3.8 took 1.6 GB on Kubernetes, where kind gives every pod the kernel's highest limit, and about 120 MB with the limit set.

Upgrading from 1.0.50

  • Nothing to do. A plugin that sets the limit itself can use --nofile now; workspace-taiga will.

Added

  • rt_service <name> <image> --nofile <n> (#982, #994), a number from 1024 to 1048576, soft and hard:
    • Docker Compose: the service's ulimits in compose.yaml.
    • Kubernetes, which has no field for it: the container starts with a shell that lowers its own limit, then runs the image's own start (its entrypoint and command, read from the image, or the service's --command).
    • Podman: the ulimits and the same start as on Kubernetes, because Podman 4.9 drops compose's ulimits through its Docker-compatible API.
    • A limit the runtime already keeps lower is left alone, with a line on stderr. The setting is kept in the service's file, so every ddev config writes it again.
    • Proven with RabbitMQ 3.8.34 on Docker, Podman and kind: its server at 65536 open files, 133–169 MiB after a minute, no restarts. Checked before the merge on a Docker Compose site: the queue service's ulimits, and RabbitMQ's server at 65536 using 110 MiB.