agent-substrate / agent-substrate/substrate

Atelet Concurrency Protection?

未关闭
#485 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/node area/storage kind/bug
主要语言
Go
星标
1.8k
派生
316
平均合并
2 天 43 分钟
30 天内合并 PR
287

描述

## 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
1. Create a lot of workers per-vCPU on a single node
1. Run a glutton load test that 100% saturates these workers without oversubscribing (may need to tweak wait time between invocations)

## Specifications

- Version:
- Platform:

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。