agent-substrate / agent-substrate/substrate
Atelet Concurrency Protection?
- 主要語言
- 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 還沒有評估資料。