4.5 KiB
4.5 KiB
title, type, permalink, stable_id, scope, project_id, workspace_type, usage_profile_id, preference_context, document_type, revision, source_memory_ids, source_checkpoint_ids, source_file_ids, source_git_commit, source_git_commits, source_agent_sync_ids, model_connection, model_name, source_count, source_revisions, source_dispositions, cited_source_ids, job_cited_source_ids, conflicts, supersedes, preferences, source_cursor, source_hash, prompt_version, schema_version, curation_job_id, created_at, updated_at, tags, restored_from_commit
| title | type | permalink | stable_id | scope | project_id | workspace_type | usage_profile_id | preference_context | document_type | revision | source_memory_ids | source_checkpoint_ids | source_file_ids | source_git_commit | source_git_commits | source_agent_sync_ids | model_connection | model_name | source_count | source_revisions | source_dispositions | cited_source_ids | job_cited_source_ids | conflicts | supersedes | preferences | source_cursor | source_hash | prompt_version | schema_version | curation_job_id | created_at | updated_at | tags | restored_from_commit | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MemRelay Troubleshooting Guide – Known Issues and Resolutions | curated | main/projects/ebb54e31-5afe-4f9b-a291-4e3b03ca3b21/curated/development/mem-relay-troubleshooting-guide-known-issues-and-resolutions | a6632d8d-f445-4932-8ffd-06f721ffc51b | project | ebb54e31-5afe-4f9b-a291-4e3b03ca3b21 | development | null | development | troubleshooting | 1 | null | Sub2API | git-restore | 20 |
|
|
|
|
0 | cd96d5b27b5d1ef34ff30350e40c12b9d9b7e389c5813755521578d1f2597d9c | 2026-08-12.3 | 3 | null | 2026-08-08T09:52:41.142992+00:00 | 2026-09-23T15:13:24.173902+00:00 |
|
6a6a895eaf |
MemRelay 故障排查与性能优化
已知问题及解决方案
-
ARM64 构建 / 依赖下载缓慢
- 症状: 在 ARM 主机上 PyPI 与 Debian 包下载极慢。
- 解决: 在构建阶段使用仅生效的代理和 Debian 镜像参数,加速依赖下载,不影响运行时网络。
-
Windows
tar无法读取模型缓存符号链接- 症状: 正式部署期间 Windows
tar命令无法读取模型缓存的符号链接。 - 解决: 使用 Linux 容器并在创建 ZIP 时以只读方式挂载缓存目录。
- 症状: 正式部署期间 Windows
-
局域网 HTTP 上的 Cookie
Secure属性- 症状: 访问公网 HTTPS 后,内网 HTTP 会话因 Cookie 永久标记
Secure而失效。 - 解决: 根据当前请求协议动态设置
Secure标记——HTTPS 设置,HTTP 清除,实现内网与公网同时可用。
- 症状: 访问公网 HTTPS 后,内网 HTTP 会话因 Cookie 永久标记
-
memrelay://capabilitiesJSON 序列化错误- 症状: 序列化包含
datetime对象的能力对象时抛出json.dumps异常。 - 解决: 在 JSON 编码前通过 FastAPI
jsonable_encoder处理所有 MCP 资源和工具输出。已加入真实时间戳的回归测试。
- 症状: 序列化包含
-
密码库列表延迟 (优化前)
- 症状: 在 ARM64 上列出 Vaultwarden 条目耗时约 20 秒。
- 解决: 实现进程内 Bitwarden 快照,在启动、手动同步和定期同步时刷新。读取延迟降至约 420‑431 ms。
-
ARM64 首次启动迁移延迟
- 症状: 迁移后容器首次启动耗时较长,健康检查失败。
- 解决: 迁移前保留一致备份,容器完成数据库恢复后再执行健康检查。
未决事项 / 持续工作
- AI 上游间歇 503/超时: 任务进入
waiting_dependency,模型恢复后自动继续。计划实现 checkpoint‑resume 以避免重复消耗模型配额。 - 文档调用失败重试: 失败任务在下次重试时重新生成证据批次,可能导致模型额度重复消耗。评估实现证据断点续跑的可行性。
- UI 微调: 继续根据实际使用反馈调整滚动行为。
- Bitwarden 快照刷新间隔: 进一步评估 optimal schedule 以降低延迟。
- 迁移文档: 编写未来版本升级的模式迁移、备份/恢复脚本。
- 回归测试扩展: 增加对真实时间字段与 Streamable HTTP MCP 的自动化测试。