agent-substrate / agent-substrate/substrate

Atelet Concurrency Protection?

オープン
#485 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/node area/storage kind/bug
主要言語
Go
スター
1.8k
フォーク
316
平均マージ
2日 43分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。