Skip to content

修正已获授权的 API SSR 内存重启上限 - #90

Merged
13304930782 merged 1 commit into
mainfrom
codex/api-ssr-memory-ceiling
Oct 13, 2026
Merged

13304930782 merged 1 commit into
mainfrom
codex/api-ssr-memory-ceiling

Conversation

@13304930782

Copy link
Copy Markdown
Owner

文章 SSR 正常渲染后的 RSS 曾达到 305–349 MiB,超过原先 PM2 的 300M 上限,触发 API 反复自动重启。将已获用户明确授权且已在线执行的 API RSS 上限同步为 450M,避免后续发布恢复旧设置。

V8 堆上限仍为 256M,worker 上限仍为 300M。仅修改 PM2 配置和部署说明。

验证:配置的语义对比确认只有 API 上限变化;线上执行有配置备份、失败自动回滚、健康检查,并确认实际 PM2 上限为 450M、worker PID 和重启计数不变。当前 API 重载后的 PID 稳定,RSS 274 MiB。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T13:16:04.967811Z a3e546a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@13304930782
13304930782 merged commit 57cdc7c into main Oct 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant