{
  "id": "aws/stepfunctions-execution-aborted-quota",
  "signature": "Execution aborted because the total number of executions for this state machine exceeded the concurrent execution quota",
  "signature_zh": "执行被中止，因为此状态机的总执行次数超过了并发执行配额",
  "regex": "exceeded the concurrent execution quota|Execution aborted because the total number of executions",
  "domain": "aws",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The Step Functions state machine has exceeded its concurrent execution limit (default 1000 per account per region for Standard workflows).",
  "root_cause_type": "generic",
  "root_cause_zh": "Step Functions状态机已超过其并发执行限制（标准工作流默认每个账户每个区域1000个）。",
  "versions": [
    {
      "version": "Step Functions 2023-10-01",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "AWS CLI 2.16.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Delete completed executions manually",
      "why_fails": "Completed executions do not count toward the concurrent quota; only running executions matter.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Increase the state machine's timeout",
      "why_fails": "Increasing timeout keeps executions running longer, potentially making the quota issue worse.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "Restart the state machine from the beginning",
      "why_fails": "Restarting creates a new execution, which will also be blocked if the quota is still exceeded.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Stop running executions that are no longer needed:\n# List running executions:\naws stepfunctions list-executions --state-machine-arn arn:aws:states:us-east-1:123456789012:stateMachine:MyStateMachine --status-filter RUNNING\n# Stop each execution:\naws stepfunctions stop-execution --execution-arn arn:aws:states:us-east-1:123456789012:execution:MyStateMachine:execution-id\n# Wait for the quota to free up.",
      "success_rate": 0.85,
      "how": "Stop running executions that are no longer needed:\n# List running executions:\naws stepfunctions list-executions --state-machine-arn arn:aws:states:us-east-1:123456789012:stateMachine:MyStateMachine --status-filter RUNNING\n# Stop each execution:\naws stepfunctions stop-execution --execution-arn arn:aws:states:us-east-1:123456789012:execution:MyStateMachine:execution-id\n# Wait for the quota to free up.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Request a service quota increase for concurrent executions via AWS Support:\nhttps://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-step-functions",
      "success_rate": 0.7,
      "how": "Request a service quota increase for concurrent executions via AWS Support:\nhttps://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-step-functions",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use Express workflows instead of Standard if the workload is high-throughput and short-lived:\n# Express workflows have a higher concurrent execution limit (100,000 per account per region).\naws stepfunctions create-state-machine --name MyExpressStateMachine --definition '{}' --role-arn arn:aws:iam::123456789012:role/MyRole --type EXPRESS",
      "success_rate": 0.75,
      "how": "Use Express workflows instead of Standard if the workload is high-throughput and short-lived:\n# Express workflows have a higher concurrent execution limit (100,000 per account per region).\naws stepfunctions create-state-machine --name MyExpressStateMachine --definition '{}' --role-arn arn:aws:iam::123456789012:role/MyRole --type EXPRESS",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "停止不再需要的运行中执行：\n# 列出运行中的执行：\naws stepfunctions list-executions --state-machine-arn arn:aws:states:us-east-1:123456789012:stateMachine:MyStateMachine --status-filter RUNNING\n# 停止每个执行：\naws stepfunctions stop-execution --execution-arn arn:aws:states:us-east-1:123456789012:execution:MyStateMachine:execution-id\n# 等待配额释放。",
    "通过AWS支持请求增加并发执行的服务配额：\nhttps://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-step-functions",
    "如果工作负载是高吞吐量和短生命周期的，使用Express工作流代替Standard：\n# Express工作流具有更高的并发执行限制（每个账户每个区域100,000个）。\naws stepfunctions create-state-machine --name MyExpressStateMachine --definition '{}' --role-arn arn:aws:iam::123456789012:role/MyRole --type EXPRESS"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.aws.amazon.com/step-functions/latest/dg/limits.html",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.78,
  "resolvable": "true",
  "first_seen": "2023-11-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}