Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
37e971b6b4
commit
6176b80ad9
1 file changed
+1
-1
@@ -30,7 +30,7 @@ services:
|
||||
# 机房那套要连这个端口,必须对外暴露
|
||||
ports:
|
||||
- "5445:5432"
|
||||
# 这台机器 2 核 7.5G、没有 swap,和 gitea、judge0 等二十多个别的服务挤在一起(2026-10 实测
|
||||
# 这台机器 2 核 7.5G、没有 swap,和 gitea、另一套 go-judge 等二十多个别的服务挤在一起(2026-10 实测
|
||||
# 可用 3.5G)。所以这里的取舍是「别被挤死」而不是「吃满内存」:
|
||||
# - 全库 249MB,shared_buffers 512MB 能整库常驻,work_mem 16MB 让统计页的聚合排序不落盘;
|
||||
# - oom_score_adj 压低:内存真满了,内核先杀别的,不先杀库;
|
||||
|
||||
Reference in new issue
Block a user