Skip to content

Atelet Concurrency Protection? #485

Description

@maxsmythe

Expected Behavior

Files from the same actor should not step on each other if the actor is re-invoked before the previous files have been cleaned up.

Actual Behavior

Unsure if concurrency of requests is the actual cause of this error, but plausible.

When load testing Substrate in a cpu-starved environment (especially a low-end machine), seeing errors like this:

rpc error: code = Internal desc = while resetting actor dirs: while deleting bundle dir: %w: unlinkat /var/lib/ateom-gvisor/actors/0c5207f6-5ffa-4d6b-9e9e-f9d2476a108c/bundles/glutton/rootfs/usr/share/zoneinfo/right: directory not empty

Steps to Reproduce the Problem

  1. Spin up substrate
  2. Create a lot of workers per-vCPU on a single node
  3. Run a glutton load test that 100% saturates these workers without oversubscribing (may need to tweak wait time between invocations)

Specifications

  • Version:
  • Platform:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions