Skip to content

[openclaw] Uncaught exception: Error: Unable to update lock within the stale threshold #415

@zhangqinghua2015

Description

@zhangqinghua2015

Plugin Version

v1.1.0-beta.10

OpenClaw Version

2026.03.28

Bug Description

2026-03-30T15:06:07.905+08:00 [openclaw] Uncaught exception: Error: Unable to update lock within the stale threshold
    at /root/.openclaw/plugins/memory-lancedb-pro/node_modules/proper-lockfile/lib/lockfile.js:136:25
    at callback (/root/.openclaw/plugins/memory-lancedb-pro/node_modules/graceful-fs/polyfills.js:306:20)
    at FSReqCallback.oncomplete (node:fs:197:5)
    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)

这个错误会导致openclaw gateway进程退出

Expected Behavior

配置如下:

"memory-lancedb-pro": {
        "enabled": true,
        "config": {
          "embedding": {
            "apiKey": "${JINA_API_KEY}",
            "model": "jina-embeddings-v5-text-small",
            "baseURL": "https://api.jina.ai/v1",
            "dimensions": 1024,
            "taskQuery": "retrieval.query",
            "taskPassage": "retrieval.passage",
            "normalized": true,
            "chunking": true
          },
          "autoCapture": true,
          "autoRecall": true,
          "smartExtraction": true,
          "llm": {
            "apiKey": "***",
            "model": "openai/gpt-oss-120b",
            "baseURL": "***",
            "auth": "api-key",
            "timeoutMs": 30000
          },
          "extractMinMessages": 2,
          "extractMaxChars": 8000,
          "sessionMemory": {
            "enabled": false,
            "messageCount": 15
          },
          "retrieval": {
            "rerank": "cross-encoder",
            "rerankApiKey": "${JINA_API_KEY}",
            "rerankModel": "jina-reranker-v3",
            "rerankEndpoint": "https://api.jina.ai/v1/rerank",
            "rerankProvider": "jina",
            "hardMinScore": 0.35,
            "mode": "hybrid",
            "vectorWeight": 0.7,
            "bm25Weight": 0.3,
            "minScore": 0.3,
            "candidatePoolSize": 20,
            "recencyHalfLifeDays": 14,
            "recencyWeight": 0.1,
            "filterNoise": true,
            "lengthNormAnchor": 500,
            "timeDecayHalfLifeDays": 60,
            "reinforcementFactor": 0.5,
            "maxHalfLifeMultiplier": 3
          },
          "mdMirror": {
            "enabled": true,
            "dir": "memory-md"
          },
          "enableManagementTools": false,
          "sessionStrategy": "memoryReflection",
          "autoRecallMinLength": 15,
          "autoRecallMinRepeated": 8,
          "autoRecallMaxItems": 3,
          "autoRecallMaxChars": 600,
          "autoRecallPerItemMaxChars": 180,
          "recallMode": "full"
        }
      },

Steps to Reproduce

和多agent每个agent有各自的workspace有关系吗?

Error Logs / Screenshots

Embedding Provider

None

OS / Platform

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions