593a409fca5097cc4814de022b8e572cf6d9844f
Deploy / deploy (push) Canceled after 0s
服务器 2 核 7.5G、没有 swap,和二十多个别的服务共用(空闲可用 3.5G): - postgres:shared_buffers 512MB(全库 249MB 能常驻)、work_mem 16MB、shm 256m、 oom_score_adj -500;事务空闲 60 秒断开 + TCP 保活,机房断网时锁不会挂两小时 - postgres、api 的 cpu_shares 加倍(按比例分、不封顶) - 判题沙箱、worker 内存上限 512m → 1g:最多六份同时编译、SQL 判题两个子进程都能顶满 512m Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
TypeScript
51%
Vue
47%
Shell
1%
CSS
0.6%
Dockerfile
0.4%